get_logs
Retrieve recent Kit app log entries filtered by severity, channel, or text to debug issues and monitor application behavior.
Instructions
Get the latest entries of the Kit app's log, read from its log file since the bridge extension started, by level, channel or text.
Each entry shows its channel and the first 200 characters of its message, saying how many more it has. search matches the whole message: an entry whose match lies past the 200 gets a matched: line with the match in its line. Kit's file holds Info and above by default; verbose lines need Kit started with both --/log/level=verbose and --/log/fileLogLevel=verbose. A script's own exception, print and stderr come back in execute_script's answer and never reach Kit's log; carb.log_error and the other carb.log_* calls in a script do.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | How many of the latest entries; the buffer keeps 2000 | |
| search | No | Only messages containing this anywhere, in any case | |
| channel | No | Only channels containing this, e.g. "omni.physx" | |
| min_level | No | The lowest severity to return; every level when empty |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |