upsert_record
Create or update a Dataverse record matched by an alternate key column. Use for sync or import scenarios without needing the record GUID.
Instructions
Create or update a record matched by an alternate key column.
Use this for sync/import scenarios where you don't have the record GUID.
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": {
"org_url": "<org_url>",
"table": "<table>",
"alternate_key": "<alternate_key>",
"alternate_value": "<alternate_value>",
"data": "<data>"
},
"name": "upsert_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Dictionary of fields to set | |
| table | Yes | The logical name of the table | |
| org_url | Yes | The Dataverse organization URL | |
| alternate_key | Yes | The logical name of the alternate key column | |
| alternate_value | Yes | The value to match |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||