invoke_function
Executes read-only Dataverse Web API functions, bound or unbound, such as WhoAmI or RetrieveDuplicates. Pass entity_set and id for bound calls; parameters are inlined as OData arguments.
Instructions
Invoke a Dataverse Web API function (GET) — bound or unbound. Use for read-only operations exposed as functions, e.g. WhoAmI (unbound) or RetrieveDuplicates. Pass entity_set+id for bound functions, neither for unbound. parameters are inlined into the URL as OData function arguments.
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": {
"name": "<name>"
},
"name": "invoke_function"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Record GUID the bound function targets. Required iff entity_set is set. | |
| name | Yes | Function name, e.g. 'WhoAmI'. The Microsoft.Dynamics.CRM. namespace is added for bound calls and may be omitted. | |
| entity_set | No | Entity set (plural) for a bound function. Omit for unbound functions. | |
| parameters | No | Function parameters, inlined as OData arguments. Strings are quoted, GUIDs/numbers/booleans passed as-is. |