yaaif_agent_spec_update
Update a scenario spec's name, description, status, requirements, slots, or segments only when the expected version matches the latest read, preventing lost updates.
Instructions
Update Scenario identity or segments using the version returned from its last read. Requirement and slot replacement is only allowed with replace_all=true; prefer granular tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| slots | No | ||
| status | No | ||
| spec_id | Yes | ||
| segments | No | ||
| description | No | ||
| replace_all | No | ||
| requirements | No | ||
| expected_version | Yes |