create_document
Add a new document to a project: title, purpose and update_when are required; instructions, format_template, load, size limit and initial content are optional. The document and its content are proposed under the project publication policy. Returns change_id and change_status. idempotency_key makes exact retries safe; a replay returns the original response with replayed=true.
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": {
"project_id": "<project_id>",
"title": "<title>",
"purpose": "<purpose>",
"update_when": "<update_when>"
},
"name": "create_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| load | No | ||
| title | Yes | ||
| content | No | ||
| purpose | Yes | ||
| evidence | No | ||
| excludes | No | ||
| max_chars | No | ||
| rationale | No | ||
| project_id | Yes | ||
| source_name | No | ||
| update_when | Yes | ||
| instructions | No | ||
| result_offset | No | ||
| format_template | No | ||
| idempotency_key | No |