inspect_file
Inspect a PHP file to extract classes, methods with signatures, properties, constants, imports, and docblocks. Use before editing to understand file structure.
Instructions
Analyze a PHP file and extract its classes, methods with full signatures, properties, constants, imports, and docblocks. Use before modifying any file.
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": {
"filePath": "<filePath>"
},
"name": "inspect_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute or relative path to the PHP file |