Scan Agent
scan_agentScan the agent's source: generate its context, then discover its behaviors.
Asynchronous: returns an `operation_id` at once, and the scan continues on
the server even if this session ends. Follow it with
get_operation_status. A context already generated for the current source
is not generated again, and if a previous scan failed in behavior
discovery, calling this again resumes from there. Asking while a scan
runs returns that scan; asking once behaviors exist for the current
source returns `already_complete`. Needs collected source and an approved
organization. Does not generate probes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"agent_id": "<agent_id>"
},
"name": "scan_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | The agent's stable ID, such as agt_1a2b3c4d, from list_agents. |