save_sop
Create (without sop_id) or update (with sop_id) a SOP of the user's organization. Owners/admins only. steps = ordered list of {title, body?, role?} (max 40). outpost_ids = the outposts it applies to (from list_clients; omit = all). status=archived archives it, status=active restores it. Max 10 active SOP: the 11th is refused with limit_reached. Show the user the title and steps before saving.
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_sop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | Passaggi della procedura: array di stringhe in ordine. | |
| title | No | Titolo della procedura (testo breve). | |
| sop_id | No | Omit to create a new SOP. | |
| source | No | Where it comes from, e.g. "crm:sop#30". | |
| status | No | active oppure archived. | |
| schedule | No | Free text, e.g. "daily 08:30" or "Monday". | |
| confirm_id | No | Token di conferma ritornato dall'anteprima. Ripassa lo STESSO payload + confirm_id per eseguire davvero la scrittura. | |
| description | No | Descrizione breve in testo semplice. | |
| outpost_ids | No | Elenco di id outpost (seller × marketplace), array di stringhe. |