fm_run_script_and_assert
Executes a FileMaker script and verifies the result matches the expected code, enabling automated validation of script outcomes.
Instructions
Runs a FileMaker script and checks whether the result code matches the expected value.
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_and_assert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scriptName | Yes | ||
| scriptParam | No | ||
| expectedResultCode | No | 0 |