find_tests
Find test functions for any symbol in your codebase. Uses naming conventions, references, and file patterns to rank results by confidence.
Instructions
Find test functions associated with a symbol.
Searches by naming convention (test_), direct reference, and file convention (test_). Results ranked by confidence.
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": {
"file_path": "<file_path>",
"symbol_name": "<symbol_name>"
},
"name": "find_tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | path relative to the repo root | |
| symbol_name | Yes | name of the function/class to find tests for |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |