find_exceptions_in_file
Retrieve the 10 most recent exceptions from a specified log file by providing the file path and lookback period in minutes.
Instructions
Get the details about the 10 most recent exceptions on the 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>",
"age": "<age>"
},
"name": "find_exceptions_in_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | The path to the file to find exceptions in. | |
| age | Yes | Number of minutes to look back, e.g. 30 for last 30 minutes. Maximum allowed value is 30 days. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |