Change a saved template
update_templateRename a saved template, replace the text of a markdown template, or point a Google Doc template at another Doc. Use it only when the user asks to change the template itself, for example "change the term in our NDA template to two years": read it with get_template, edit the text, then pass the whole new markdown. The old version cannot be restored, so confirm the change with the user first. Requests already sent do not change. A PDF template can only be renamed. A Google Doc template always sends the Doc as it is at that time, so its wording is changed in Google Docs.
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": {
"template_id": "<template_id>"
},
"name": "update_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | A new short name, with no signer name in it. | |
| markdown | No | The whole new text of a markdown template, with the same field tokens as send_for_signature. | |
| template_id | Yes | ||
| google_doc_url | No | Another Google Docs link, shared as "Anyone with the link can view", for a Google Doc template. |