Explain a PHP error
explain_php_errorTurn one PHP error message into the current English manual page for the function or method it names. Returns the manual URL, version line, signature, description, and first example. Use it when the agent has the error text. A message that names no function returns not_found. The first 5 successful calls each UTC day from one network address are free and need no key. A not_found, bad_range, or fetch_failed is not charged and does not use a free call. After the 5, send X-API-Key. A key call costs 0.04 credit only on success. Key: https://firm.bestsmartgoods.com/signup
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": {
"error": "<error>"
},
"name": "explain_php_error"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | Yes | The PHP error text, for example Call to undefined function each(). | |
| version | No | Release to check against the manual version line, for example 8.3. The page is still the current manual. |