create_entity
Creates a custom Dataverse table with a primary name column and optional additional columns, returns the new table URL, and identifies any columns that failed.
Instructions
Create a custom table with its primary name column and, optionally, additional columns; add_attribute adds columns later and create_record adds records. Returns the new table's URL; a name that is taken is an error. If a column fails, the error says which columns were created and how to add the rest. The table lands in the Default Solution, not in yours, so list_entities filtered by your solution, by default or by its solution field, does not show it.
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": {
"logical_name": "<logical_name>",
"display_name": "<display_name>",
"display_collection_name": "<display_collection_name>"
},
"name": "create_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| has_notes | No | Enable notes and attachments on the table (default: false). Cannot be turned off once enabled. | |
| attributes | No | Additional attributes to create with the entity | |
| description | No | Table description | |
| display_name | Yes | Display name | |
| logical_name | Yes | Logical name with publisher prefix (e.g. 'contoso_newtable') | |
| has_activities | No | Enable activities on the table (default: false). Cannot be turned off once enabled. | |
| ownership_type | No | Ownership type (default: UserOwned) | |
| primary_attribute_name | No | Logical name for primary name attribute (default: '{prefix}_name') | |
| display_collection_name | Yes | Plural display name | |
| primary_attribute_display_name | No | Display name for primary name attribute (default: 'Name') |