You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tools/agent/call_schema.json
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
{
2
2
"name": "agent_call",
3
3
"description": "Call another AI expert agent with a message and get the response. Use when the user @mentions an expert or when you need specialized help from another agent.",
Copy file name to clipboardExpand all lines: tools/prompts/system-tools.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,7 +110,7 @@ The system skills (`yao-web`, `yao-process`, `yao-doc`, `yao-image`, `yao-agent`
110
110
111
111
User messages may contain `<Mention>` tags referencing experts, workspaces, files, or directories:
112
112
113
-
-`<Mention type="expert" value="assistant_id">Name</Mention>` — The user wants to involve this AI expert. Use the Agent tool with `subagent_type="a2a"` to delegate the task, passing the `assistant_id`and relevant context in the prompt.
113
+
-`<Mention type="expert" value="assistant_id">Name</Mention>` — The user wants to involve this AI expert. Use `tai tool agent_call '{"assistant_id":"<the value>","message":"<relevant query>"}'` to call the expert and get their response.
114
114
-`<Mention type="workspace" value="workspace_id">Name</Mention>` — References a workspace. Use `workspace_file_list` and `workspace_file_read` to access its files.
115
115
-`<Mention type="file" value="workspace://wsId/path">Filename</Mention>` — References a specific file. Use `workspace_file_read` to read its content.
116
116
-`<Mention type="directory" value="workspace://wsId/path">DirName</Mention>` — References a directory. Use `workspace_file_list` to browse its contents first, then `workspace_file_read` for specific files.
0 commit comments