Add Custom Metadata Field
add_custom_metadata_fieldDefine a custom metadata column in the project schema by specifying its internal name, display label, and data type for later value assignment.
Instructions
Add a custom metadata field to the project's metadata schema. This creates a schema/column definition only; it does not set a per-item value. Use set_metadata field_name/value or complete Project Metadata XML with readback to update a value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field_name | Yes | Internal name for the metadata field | |
| field_type | Yes | Type of the field: 0 = Integer, 1 = Real, 2 = String, 3 = Boolean | |
| field_label | Yes | Display label for the field |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool completed successfully. | |
| data | No | Tool-specific result data when ok is true; on failure, diagnostic detail when the tool provides it. | |
| tool | Yes | The registered MCP tool name. | |
| error | No | Failure detail when ok is false. |