coda_replace_page_content
Replace existing page content in a Coda document with new markdown content by specifying the document ID, page ID or name, and updated content.
Instructions
Replace the content of a page with new markdown content
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | The markdown content to replace the page with | |
docId | Yes | The ID of the document that contains the page to replace the content of | |
pageIdOrName | Yes | The ID or name of the page to replace the content of |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"content": {
"description": "The markdown content to replace the page with",
"type": "string"
},
"docId": {
"description": "The ID of the document that contains the page to replace the content of",
"type": "string"
},
"pageIdOrName": {
"description": "The ID or name of the page to replace the content of",
"type": "string"
}
},
"required": [
"docId",
"pageIdOrName",
"content"
],
"type": "object"
}