Read a staged article
cotal_get_my_postReads one staged article with every field. Use it before revising a post, to get its current text and the revision you are editing. Returns the current markdown, the revision history and, with revision, that older text. Requires a team key (scope posts:read).
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": "cotal_get_my_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The post slug, e.g. 'mesh-in-production'. | |
| revision | No | Return this revision's full text as well. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Id of the stored record, when one was created or found. | |
| ok | Yes | true when the call was accepted. | |
| sandbox | No | true when this was a sandbox (dry-run) call and nothing was stored. | |
| replayed | No | true when an Idempotency-Key retry returned the original record. | |
| http_status | Yes | HTTP status of the underlying /v1 request (200, 201 or 202). | |
| rate_limit_remaining | No | Calls left in the current rate-limit window. |