docs_replace_markdown
Replace a Google Docs tab's content with Markdown only when the document revision matches an expected ID, preventing accidental overwrites.
Instructions
Replace one document tab from Markdown under an exact revision guard.
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": "<document>",
"markdown": "<markdown>",
"expected_revision_id": "<expected_revision_id>"
},
"name": "docs_replace_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | No | ||
| document | Yes | ||
| markdown | Yes | ||
| format_profile | No | persian | |
| expected_revision_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||