get_document
Retrieve a single OpenProject document by ID, returning its full description by default or truncating it to a specified character limit.
Instructions
Get a single document by id.
The description is returned in full by default (single documents are not
truncated). Pass text_limit to cap it at that many characters; when the
text is cut, description_truncated is true and description_length
reports the real length.
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": {
"document_id": "<document_id>"
},
"name": "get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text_limit | No | ||
| document_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| title | Yes | ||
| project | Yes | ||
| can_update | Yes | ||
| created_at | Yes | ||
| project_id | Yes | ||
| description | Yes | ||
| attachment_count | Yes | ||
| description_length | No | ||
| description_truncated | No |