get_agent_state
Retrieve stored state values by key for managing cancer patient documents and data across connected services.
Instructions
Get a persistent state value by key.
Returns {value: null} if the key does not exist.
Args: key: State key name. agent_id: Agent identifier (default: oncoteam).
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": {
"key": "<key>"
},
"name": "get_agent_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| agent_id | No | oncoteam |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |