Set template planning rules
set_template_planning_rulesSet the planning rules on a gig template: anchors (named schedule landmarks such as doors or downbeat), constraints between entries, the entry keys that stay fixed when a plan moves, and match hints (event types and keywords) that steer suggest_plan_templates. Rules make every future plan built from this template land better. The event must be a TEMPLATE and the caller an org admin or gig manager. Nobody is notified. Runs on the first call; there is no confirmation step.
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": {
"event_id": "<event_id>"
},
"name": "set_template_planning_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| anchors | No | anchor key → schedule entry key, e.g. {"doors": "doors_open"} | |
| event_id | Yes | the TEMPLATE-status event id (list_events event_status="TEMPLATE") | |
| constraints | No | ordering rules, each {id, rule: "before" | "after" | "within" | "minDuration", ...rule fields}; the server validates and names any bad field | |
| match_hints | No | hints that raise this template in suggest_plan_templates | |
| fixed_entry_keys | No | schedule entry keys that keep their clock time when the plan is re-anchored |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true on success (including confirmation_required prompts) | |
| data | No | the API response { status (HTTP status), data: { rules } } | |
| error | No | when ok is false |