Save a template
save_templateCreate a template (omit template_id) or update one (every plan). Changing the markdown saves a new version; older versions are kept. Use {{ variable_name }} placeholders for values that change per document, e.g. [[signature: {{ client_name }} <{{ client_email }}>]].
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "save_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Required when creating. | |
| api_key | No | An md2sign API key. When given, this call uses that key's account even if the connection is signed in as someone else, so pass it on every call when your human has more than one md2sign account (for example two businesses). Also use it if your MCP client cannot send an "Authorization: Bearer <api_key>" header. | |
| markdown | No | Full template markdown. Required when creating. | |
| change_note | No | What changed in this version. | |
| description | No | Short note on what the template is for, shown in the template list. | |
| template_id | No | Omit to create a new template. |