create_record
Create a single record in a Dataverse table and retrieve its GUID. Use describe_table to confirm field names and types before inserting.
Instructions
Create a single record in a Dataverse table. Returns the new record's GUID. Use describe_table first to discover correct field names and types.
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": {
"tableName": "<tableName>",
"data": "<data>"
},
"name": "create_record"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Key-value pairs of Dataverse field names and their values. For lookup (navigation) fields, use OData bind annotation syntax: { "fieldname@odata.bind": "/entitysetname(guid)" } — e.g. { "parentbusinessunitid@odata.bind": "/businessunits(3c359494-abcd-1234-0000-000000000000)" }. Use describe_table to find the field type ('LookupType') and targets; use list_tables or describe_table on the target entity to find its entitySetName. | |
| tableName | Yes | Logical (schema) name of the Dataverse table, e.g. 'account' or 'crb69_myentity' |