Run Pest directly
run_pestRun Pest PHP tests in approved Laravel/Composer projects. Specify a project and optionally filter tests, change working directory, or set a timeout.
Instructions
Runs vendor/bin/pest with optional filter and path from a Laravel/Composer app root.
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": {
"project": "<project>"
},
"name": "run_pest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional project-relative working directory. When omitted, the tool auto-detects the relevant app root. | |
| path | No | ||
| filter | No | ||
| compact | No | ||
| project | Yes | Project key from list_projects. | |
| timeoutSeconds | No |