Show the definition of one object
patchwork_showReturns the definition of a FileMaker object, such as a script, layout, or field, as editable text or XML for reading and replacing.
Instructions
Return the definition of one object, to read it or to edit it and send it back. A script comes as FileMaker text, one step per line, ready for patchwork_set_steps. Any other kind comes as its Save-as-XML block, ready for patchwork_replace. kind=step returns the XML of a real step of that name found in the file, as a model for steps the text form cannot write. Fails with 'not found' on an unknown name: get exact names from patchwork_list.
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": {
"kind": "<kind>",
"name": "<name>"
},
"name": "patchwork_show"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | No | For a script only: return its XML instead of FileMaker text. | |
| kind | Yes | Kind of object. 'step' is a script step type such as Set Field, not an object of the file. | |
| name | Yes | Exact name of the object. Table::Field for a field, the step name (e.g. 'Set Field') for a step. |