add_field
Add a new field to an entity schema. Validates the change is safe, writes the updated schema to disk, and reloads it.
Instructions
Add a new field to an entity schema. Validates the change is safe, writes the updated schema to disk, and reloads 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": {
"entity_type": "<entity_type>",
"field_name": "<field_name>",
"field_type": "<field_type>",
"default": "<default>"
},
"name": "add_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| default | Yes | ||
| required | No | ||
| field_name | Yes | ||
| field_type | Yes | ||
| description | No | ||
| entity_type | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||