settings_upsertDocumentTemplate

WRITE

Upsert document template.

Parameters

documentTypeanyrequired
blocksany[]required
themeanyrequired
settingsanyrequired
headerSectionIdstringnullrequired
footerSectionIdstringnullrequired

Call it

Invoke it through the call_tool meta-tool with its arguments:

call_tool
call_tool({
  "name": "settings_upsertDocumentTemplate",
  "arguments": {
    "documentType": "string",
    "blocks": [],
    "theme": "string",
    "settings": "string",
    "headerSectionId": "string",
    "footerSectionId": "string"
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "documentType": {},
    "blocks": {
      "type": "array",
      "items": {}
    },
    "theme": {},
    "settings": {},
    "headerSectionId": {
      "type": [
        "string",
        "null"
      ]
    },
    "footerSectionId": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "documentType",
    "blocks",
    "theme",
    "settings",
    "headerSectionId",
    "footerSectionId"
  ]
}