fix(tools): improve description clarity for SpawnStatusTool regarding task context
This commit is contained in:
parent
9a2cf38d54
commit
12f570e56f
1 changed files with 3 additions and 2 deletions
|
|
@ -29,8 +29,9 @@ func (t *SpawnStatusTool) Description() string {
|
||||||
"Returns a list of all subagents and their current state " +
|
"Returns a list of all subagents and their current state " +
|
||||||
"(running, completed, failed, or canceled), or retrieves details " +
|
"(running, completed, failed, or canceled), or retrieves details " +
|
||||||
"for a specific subagent task when task_id is provided. " +
|
"for a specific subagent task when task_id is provided. " +
|
||||||
"Results are scoped to the current conversation when a channel/chat " +
|
"Results are scoped to the current conversation's channel and chat ID; " +
|
||||||
"context is available; without context (e.g. CLI), all tasks are listed."
|
"all tasks are listed only when no channel/chat context is injected " +
|
||||||
|
"(e.g. direct programmatic calls via Execute)."
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *SpawnStatusTool) Parameters() map[string]any {
|
func (t *SpawnStatusTool) Parameters() map[string]any {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue