List Cypress specs
cypress_list_specsLists Cypress spec files with their test counts by reading files statically, so nothing runs. Optionally include each test's full title and list every monorepo project's specs.
Instructions
List spec files with their test counts, read statically (nothing runs). titles: true adds each test's full title, the text testName matches. In a monorepo, lists every project's specs.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cypress_list_specs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| titles | No | Include test titles | |
| pattern | No | Glob relative to the project root. Default: the project's specPattern | |
| project | No | Monorepos: one project folder. Default: every project |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | false when the tool could not do its job (not when tests fail) | |
| data | Yes | ||
| tool | Yes | ||
| runId | No | ||
| summary | Yes | ||
| nextActions | Yes |