wf_approval_template_save
Create or update an approval template by defining its name and team-based approval steps, so documents follow the correct approval sequence.
Instructions
Create or update an approval template
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": {
"name": "<name>"
},
"name": "wf_approval_template_save"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Template ID (for update; omit to create) | |
| name | Yes | Template name | |
| teams | No | Approval steps as a JSON array of {"teamId": "<team UUID>", "level": <step number, 1-based>} | |
| organization | No | Organization workspace name (uses default if omitted) |