get_requirement
Retrieves a single requirement by requirement ID or doc ID, working around TestLink's missing direct lookup by filtering the project's requirements.
Instructions
Fetch a single requirement by requirement id or doc id. TestLink's API has no direct single-requirement lookup — this calls tl.getRequirements for the project and filters client-side.
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": {
"testProjectId": "<testProjectId>"
},
"name": "get_requirement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | No | ||
| requirementId | No | ||
| testProjectId | Yes |