Add document
add_documentAttach a document BY REFERENCE — no file bytes, source_url just points at something hosted elsewhere (e.g. an external drawing portal). To attach an actual file, use create_document_upload_url + finalize_document_upload instead.
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": {
"title": "<title>"
},
"name": "add_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| title | Yes | ||
| agent_id | No | ||
| category | No | ||
| entity_id | No | ||
| project_id | No | ||
| source_url | No | ||
| description | No | ||
| entity_type | No |