haops_update_protocol
Update an agent role's work protocol in a project. Creates a new version, marks the old as historical. Supports partial updates to template, skills, or content.
Instructions
Update (create new version of) the work protocol for a specific agent role in a project. Creates a new version and marks the previous as historical. Architect and admin roles ONLY.
Partial-body support: Provide ONLY the fields you want to change. Server carries forward unchanged fields.
• Common usage: pass only templateId to rebind a role template binding without re-sending the full markdown body.
• Common usage: pass only skillsConfig to enable/disable skills without re-sending the markdown body.
• Pass content only when you actually want to update the markdown text.
F3 composed-protocol fields (ENABLE_COMPOSED_PROTOCOLS must be ON): • templateId — UUID of a RoleTemplate to associate, or null to detach. Omit to carry forward current value. • skillsConfig — override which skills are active and inject custom content. Omit to carry forward. Set to null to clear.
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": {
"projectSlug": "<projectSlug>",
"role": "<role>"
},
"name": "haops_update_protocol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | Agent role to update protocol for (e.g., architect, dev, qa, devops) | |
| content | No | The full protocol document in markdown. OPTIONAL — omit to carry forward the current body and only update other fields (e.g. templateId or skillsConfig). | |
| verbose | No | If true, return the full API response instead of the compact summary (default: false) | |
| templateId | No | F3: UUID of the RoleTemplate to associate with this protocol slot, or null to detach. When omitted the server carries forward the current value. | |
| projectSlug | Yes | The project slug (URL identifier) | |
| skillsConfig | No | F3: Override active skills and custom content. Omit to carry forward; set to null to clear entirely. | |
| changeSummary | No | Optional summary of what changed in this version |