Clear Laravel caches
clear_laravel_cacheClears all Laravel caches including views, routes, config, and compiled files by running artisan optimize:clear on auto-detected projects.
Instructions
Runs php artisan optimize:clear in an auto-detected Laravel application.
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": "clear_laravel_cache"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional project-relative working directory. When omitted, the tool auto-detects the relevant app root. | |
| project | Yes | Project key from list_projects. | |
| timeoutSeconds | No |