add_attribute
Adds a column to an existing Dataverse table and returns its URL. Use it to extend a table's schema after creation; verify table and logical name first with get_entity_metadata.
Instructions
Add one column to an existing table and return the new column's URL. A table that does not exist or a logical name that is taken is an error; get_entity_metadata shows both. To create a table together with its columns use create_entity, and to change a column later update_attribute. The column lands in the Default Solution; it is in your solution only if its table was added there with all its subcomponents, otherwise add it to the solution by hand.
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": {
"entity_logical_name": "<entity_logical_name>",
"attribute": "<attribute>"
},
"name": "add_attribute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attribute | Yes | The column to add: logical_name with the publisher prefix, type and display_name, plus the settings for its type (max_length, options, date_format and so on). | |
| entity_logical_name | Yes | Logical name of the entity |