Open a FileMaker file as a working copy
patchwork_openOpens a closed .fmp12 file as a new versioned working copy (v000) and returns its version, account and object counts. Call it first, since every other tool edits this copy while the source stays untouched.
Instructions
Open a closed .fmp12 file as a new versioned working copy (v000) and return its summary: version, account and object counts. Call it first: every other tool works on this working copy. The source file is never modified, but it must be closed in FileMaker. Refused when a workspace already exists in the project folder, unless force=true, which deletes that workspace and all its versions. The password is read from the PATCHWORK_PASSWORD environment variable, never from an argument.
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": {
"source": "<source>",
"account": "<account>"
},
"name": "patchwork_open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Replace an existing workspace: its versions are lost. Save first with patchwork_save. Inside the project folder only. | |
| source | Yes | Path of the .fmp12 file to open. | |
| account | Yes | Name of a Full Access account of the file. | |
| project | No | Folder for the .patchwork workspace. Default: the server's project folder, else the source file's folder. | |
| no_password | No | True when the account has no password. Otherwise PATCHWORK_PASSWORD must be set. |