add_case_field
Create custom case fields in TestRail by defining the field name, label, type, and context-specific settings such as required status, default value, and project inclusion.
Instructions
Create a custom case field
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": {
"type": "<type>",
"name": "<name>",
"label": "<label>"
},
"name": "add_case_field"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Field system name | |
| type | Yes | Field type (String, Integer, Text, URL, Checkbox, Dropdown, User, Date, Milestone, Steps, Multiselect) | |
| label | Yes | Field display label | |
| configs | No | Field configuration per context | |
| description | No | Field description | |
| include_all | No | Include in all projects | |
| template_ids | No | Template IDs to include field in |