GraphQL Mutation Syntax
Update Mutation
mutation {
update_person_detail(
id: 42
firstname: "Anna"
lastname: "Schmidt"
age: 35
) { id firstname lastname }
}
idis always required (NOT NULL)- All other fields are optional — only provided fields are updated
- Fields with
readonly="true"are ignored
Direct Mutation Calls
The AI never calls mutations directly. The correct workflow is:
1. oos_query → load and display data
2. oos_ui_change_required → write changes as preview into the Board
3. oos_ui_save → user confirms → OOS scrapes FormData → mutation executes
oos_ui_save automatically builds the mutation from the form data.
What oos_ui_save Does
- Scrape FormData from the current Board form
- Ignore readonly fields
- Read currency fields via
data-raw - Assemble GraphQL mutation from the fields
- Execute mutation
- Reload Board with updated data