update_field
Update field properties including metadata, interface options, and schema constraints in a Directus collection.
Instructions
Update field properties such as metadata, interface options, or schema constraints.
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": {
"collection": "<collection>",
"field": "<field>"
},
"name": "update_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collection | Yes | Collection name | |
| field | Yes | Field name to update | |
| type | No | Field type | |
| meta | No | Field metadata to update | |
| schema | No | Database schema to update |