List templates and fields
get_fieldsList a project's templates and their fields (id, label, type incl. STEPS, options) — exactly what you see authoring a case in the UI. Use the field ids with create_test_case/update_test_case fieldValues to set priority, steps, etc.
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": {
"project": "<project>"
},
"name": "get_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | Project id to read templates/fields from. Numeric project id as returned by get_projects (the number in the app URL); a project name is not accepted. | |
| templateId | No | Optional: only this template's fields (else all templates in the project). |