docs: Update docs for the subagent tool (#50689)

Ben Brandt , Bennet Bo Fenner , and MrSubidubi created

Adds the actual tool name so people can turn it off if they want.

Release Notes:

- N/A

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Co-authored-by: MrSubidubi <dev@bahn.sh>

Change summary

docs/src/ai/tools.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Detailed changes

docs/src/ai/tools.md 🔗

@@ -91,6 +91,6 @@ Executes shell commands and returns the combined output, creating a new shell pr
 
 ## Other Tools
 
-### `subagent`
+### `spawn_agent`
 
-Spawns a subagent with its own context window to perform a delegated task. Useful for running parallel investigations, completing self-contained tasks, or performing research where only the outcome matters. Each subagent has access to the same tools as the parent agent.
+Spawns a subagent with its own context window to perform a delegated task. Each subagent has access to the same tools as the parent agent.