Show a doc
show_docOpens a doc inside the chat as Coline's paged editor, so the person can read and edit it in place. Use it when the person wants to see or work on a doc.
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": {
"workspace": "<workspace>",
"docId": "<docId>"
},
"name": "show_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | Doc id from search, fetch or create_doc. | |
| workspace | Yes | Workspace slug from workspaces.list, e.g. "acme". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| text | Yes | ||
| docId | Yes | ||
| title | Yes | ||
| revision | Yes | ||
| textTruncated | Yes |