add_document
Add text content or a public URL to a shared long-term memory so AI agents can search and answer questions from it. Reusing the same custom ID skips duplicates.
Instructions
Give the user's memory raw material to learn: content text or a public url. The same custom_id again is a no-op.
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": "add_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| title | No | ||
| content | No | ||
| custom_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |