Update Record Layout Field
peek.update_field_optionsPatch per-field options on a single item of a record layout (how a row opens; a form is refused: change a question's label or required flag with form.update editFields): title override (the label for this field, separate from the sheet attribute name), isRequired flag, background, color, borderColor, borderSize, radiusSize, radius, align. Identify the item by layoutItemId (from peek.read) or attributeCode (matches first attribute item). Only included option keys are touched.
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": {
"options": "<options>"
},
"name": "peek.update_field_options"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peekId | No | ||
| options | Yes | ||
| layoutItemId | No | ||
| attributeCode | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| matchedItemId | Yes |