Put an existing field on a layout
patchwork_place_fieldPlace a field on a FileMaker layout by copying the look and label of an existing field, inserting it below or beside that field and shifting content to fit.
Instructions
Put a field on a layout. Copies the look and label of near, a field already on the layout, and inserts a row below it: objects underneath move down and the part grows. Refused when the field is already on the layout, or when side=right has no room. The version is dropped with an error if the field is not on the layout in the result. To create the field first, use patchwork_add_field. Makes a new version; patchwork_undo reverses it.
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": {
"layout": "<layout>",
"field": "<field>",
"near": "<near>"
},
"name": "patchwork_place_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| near | Yes | A field already on the layout, as Occurrence::Field. The new field copies its look. | |
| side | No | below (default): a new row under `near`. right: beside `near`, if there is room. | |
| field | Yes | Field to place, as Occurrence::Field, e.g. Clients::Status. | |
| label | No | Label text. Default: the field name. | |
| layout | Yes | Exact name of the layout. Names come from patchwork_list kind=layouts. | |
| dry_run | No | Only write the patch file to .patchwork/ and return its path. Nothing is applied, no version is made. | |
| message | No | What this change does, kept in the version log. Default: a short description of the change. |