list_custom_fields_for_project
Probe candidate custom field names against a representative test case to discover which fields are populated for a TestLink project. Returns only fields with non-empty values.
Instructions
Best-effort custom field discovery. TestLink's XML-RPC API has NO endpoint to enumerate custom field definitions for a project — only to read a named field's value on a specific test case. Supply a representative test case plus a list of candidate field names (visible in TestLink Admin > Custom Fields) and this probes each one, returning only the fields that resolved to a non-empty value for that test case.
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": {
"testCaseExternalId": "<testCaseExternalId>",
"version": "<version>",
"testProjectId": "<testProjectId>",
"candidateFieldNames": "<candidateFieldNames>"
},
"name": "list_custom_fields_for_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | ||
| testProjectId | Yes | ||
| testCaseExternalId | Yes | A representative test case in the target project. | |
| candidateFieldNames | Yes | Field names to probe, e.g. from the admin UI. |