update_doc
Replace or append a document in memory to keep scoped agent context and session handoffs current.
Instructions
Replace or append a doc in memory.
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": {
"doc": "<doc>",
"body": "<body>"
},
"name": "update_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc | Yes | ||
| body | Yes | ||
| mode | No | ||
| session_id | No | session_id returned by start_session. If missing/expired, call start_session and follow next_action before retrying. |