Associate Document
associate_documentFile a document you already published into a Project you own, addressed by slug. Requires the projects:write scope in addition to documents. Identify the Project with exactly one of project_id (uuid) or project_key — passing both, or neither, is an error. Repeating the same call is a no-op.
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": {
"slug": "<slug>"
},
"name": "associate_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Slug of a document you own | |
| project_id | No | Project id — exactly one of project_id or project_key is required | |
| project_key | No | Adopted Project key — exactly one of project_id or project_key is required |