haops_link_tests_to_entity
Link tests to a module, feature, or issue using test IDs or a file path glob pattern. Updates testableType and testableId on matching tests.
Instructions
Link tests to a module, feature, or issue by test IDs or file path pattern. Sets testableType and testableId on matching tests.
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": {
"projectSlug": "<projectSlug>",
"entityType": "<entityType>",
"entityId": "<entityId>"
},
"name": "haops_link_tests_to_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| testIds | No | Explicit test UUIDs to link (optional) | |
| verbose | No | If true, return the full API response instead of the compact summary (default: false) | |
| entityId | Yes | UUID of the entity | |
| entityType | Yes | Entity type to link tests to | |
| projectSlug | Yes | The project slug (URL identifier) | |
| filePathPattern | No | Glob pattern for file paths, e.g. "tests/e2e/auth/*" (optional) |