erp_call
WHEN: to run one ERP MCP tool on ONE Dynamics 365 F&O instance, as the signed-in user (their own F&O roles and legal entities apply). Get the tool name and argument schema from erp_list_tools first. On protected instances (PROD) any tool that is not flagged read-only needs confirm=true, and you must only set it after the user explicitly approved the exact action. On a readOnly instance every tool that can change data is refused and confirm does not override it. To compare two instances, call erp_call once per instance with the same read-only tool and diff the results.
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": {
"instance": "<instance>",
"tool": "<tool>"
},
"name": "erp_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | Exact tool name from erp_list_tools. | |
| confirm | No | Required true to run a non read-only tool on a protected instance. | |
| instance | Yes | Instance alias from erp_list_instances. | |
| arguments | No | JSON object with the tool arguments, as a string. Omit or "{}" when none. |