yaaif_agent_spec_update_segment
Update one segment of an agent scenario spec, such as overview or architecture, by specifying the segment key and expected version.
Instructions
Update one Scenario segment (overview, architecture, workflow_design, benefits, …).
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": {
"spec_id": "<spec_id>",
"expected_version": "<expected_version>",
"segment_key": "<segment_key>"
},
"name": "yaaif_agent_spec_update_segment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| status | No | ||
| body_md | No | ||
| payload | No | ||
| spec_id | Yes | ||
| sort_order | No | ||
| segment_key | Yes | ||
| expected_version | Yes |