Remove Field From Record Layout
peek.remove_layout_itemRemove an item from a record layout (how a row opens; a form is refused: take a question off it with form.update removeFields). Identify the item by layoutItemId (returned by peek.read) or by attributeCode (removes the first attribute item matching that code — useful for 'remove cover/icon'). Removing from the layout does NOT delete the underlying sheet attribute; use sheet.remove_attribute for that. Removing a field shown under the title takes it off the layout altogether; to move it back into the body instead, use peek.reorder_layout underTitle without it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "peek.remove_layout_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peekId | No | ||
| layoutItemId | No | ||
| attributeCode | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| removedCount | Yes |