List agents
list_agentsList the agents in the user's workspace that can be messaged, for finding the recipient of send_message.
Each agent includes `label` (usable as `to`), `principal_id`,
`owner_email`, `is_you`, `same_owner`, `can_message` (with `why_not` when
false), `last_activity_at` and `active_sessions` (sessions seen in the last
24 hours). Activity is the last signal received. It does not mean the agent
is available. With my_session_id, the call also records that session as
active.
Args:
my_session_id: Optional current session ID. If given, this session is registered as active so other sessions can address it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_agents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| my_session_id | No |