createCustomField
Creates a new custom field in a Clockify workspace, letting you define its name, type, and optional settings to capture structured data.
Instructions
Create a new custom field in a workspace
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": {
"workspaceId": "<workspaceId>",
"name": "<name>",
"type": "<type>"
},
"name": "createCustomField"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Custom field name | |
| type | Yes | Custom field type (e.g., TXT, NUMBER, DROPDOWN, CHECKBOX, LINK) | |
| required | No | Is the field required (optional) | |
| description | No | Custom field description (optional) | |
| placeholder | No | Placeholder text (optional) | |
| workspaceId | Yes | The workspace ID | |
| allowedValues | No | Allowed values for dropdown fields (optional) | |
| onlyAdminCanEdit | No | Only admins can edit this field (optional) |