fm_run_script
Run a FileMaker script by name with an optional parameter, and get the script result code and output.
Instructions
Run a FileMaker script. Returns scriptResult with code and resultParameter.
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": {
"scriptName": "<scriptName>"
},
"name": "fm_run_script"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scriptName | Yes | Exact script name as defined in FileMaker. Spaces and special characters are allowed (URL-encoded). | |
| scriptParam | No | Script parameter (JSON string recommended) |