Rudow
v0.2.0Query your app's logs, metrics and incidents, and set Rudow up, from your AI assistant.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_projects
List the projects you have access to. Call this first to get a project_id to pass to the other tools.
list_sdks
Get setup info for Rudow's client SDKs (Node.js backend, Python backend) — package name, install command, a minimal config/usage snippet, and how to obtain a project ingest API key. Use this to help a user add logging to their own codebase: install the right package for their stack and write the snippet into their code yourself — this tool only returns information, it does not install anything or touch the user's files. Ingest keys come from create_ingest_key (or create_project), if your connection has write access; see key_instructions in the result. Write the key to the app's .env as RUD…
list_incidents
List incidents Rudow detected for this project (newest first). Use to answer what's broken now or recently.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The project to query. Call list_projects first to see which ids you can use. |
status | string |
get_incident
Full detail of one incident: why it fired (signals with observed vs usual), top error groups, timeline.
| Parameter | Type | Description |
|---|---|---|
incident_id * | string | |
project_id * | string | The project to query. Call list_projects first to see which ids you can use. |
query_logs
Fetch matching log entries for this project, newest first. Use to inspect specific errors or recent activity. Call this when you need the actual log lines.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The project to query. Call list_projects first to see which ids you can use. |
before_iso | string | Only entries before this ISO timestamp (cursor pagination). |
level | string | Filter by severity level. |
limit | integer | Max rows to return (default 50, max 200). |
minutes | integer | Only entries from the last N minutes. |
source | string | Filter by source, e.g. 'backend' or 'browser'. |
text | string | Case-insensitive substring match on the message. |
query_logs_batched
Fetch a time-bucketed sample over a larger window. Useful when logs are high-volume: returns a balanced slice across time buckets instead of only the very latest lines.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The project to query. Call list_projects first to see which ids you can use. |
bucket_minutes | integer | Bucket width in minutes (default 5). |
limit | integer | Total max rows returned (default 400). |
minutes | integer | Window size in minutes (default 60). |
per_bucket | integer | Max rows per bucket (default 20). |
text | string | Optional substring filter across message and attributes. |
aggregate_logs
Count log entries grouped by a dimension over a recent window. Call this to spot trends, e.g. error rate or status-code distribution.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The project to query. Call list_projects first to see which ids you can use. |
group_by | string | Dimension to group counts by. |
minutes | integer | Window size in minutes (default 60). |
metrics_summary
Computed health overview from telemetry: request volume, error rate (4xx/5xx), average and p95 latency, the top routes by traffic and errors, and the latest process metrics (memory, event-loop lag, uptime). Call this to answer how the app is performing or whether it is healthy.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The project to query. Call list_projects first to see which ids you can use. |
minutes | integer | Window size in minutes (default 60). |
metrics_overview
Overview section of metrics: total requests, error count & rate, average/p95 latency, and top error routes. Use this for a quick health snapshot focused on request volume and performance.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The project to query. Call list_projects first to see which ids you can use. |
minutes | integer | Window size in minutes (default 60). |
metrics_trends
Trends section: request volume, error rate, and latency over time in bucketed intervals. Call this to understand how performance has changed and spot degradation or recovery patterns.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The project to query. Call list_projects first to see which ids you can use. |
minutes | integer | Window size in minutes (default 60). |
metrics_distributions
Response time distribution: histogram showing the spread of latencies (p50, p75, p90, p95, p99). Use this to understand if latency is consistent or if there are outliers and slow queries.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The project to query. Call list_projects first to see which ids you can use. |
minutes | integer | Window size in minutes (default 60). |
metrics_routes
Top routes by request volume and error count. Shows which endpoints are getting the most traffic and which are failing most often. Use this to identify hot spots and problem areas.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The project to query. Call list_projects first to see which ids you can use. |
minutes | integer | Window size in minutes (default 60). |
metrics_levels
Distribution of log levels: count and percentage of debug, info, warn, error, and fatal entries. Use this to understand the severity profile of logs and if error rates are elevated.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The project to query. Call list_projects first to see which ids you can use. |
minutes | integer | Window size in minutes (default 60). |
route_drilldown
Deep dive into a specific route: request count, error rate, average and p95 latency, errors by status code. Call this after seeing a problematic route in metrics_routes to get details.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The project to query. Call list_projects first to see which ids you can use. |
route * | string | The route path to drill down into, e.g. '/api/v1/chat'. |
minutes | integer | Window size in minutes (default 60). |
failed_ingest_summary
Summary of failed ingest requests over a recent window: count of validation failures, most recent failure, and error details. Use this to troubleshoot SDK/client issues or payload format problems.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The project to query. Call list_projects first to see which ids you can use. |
minutes | integer | Window size in minutes (default 60). |
semantic_search
Find log entries whose meaning is similar to a natural-language description, using vector similarity (not substring matching). Use this when the user describes a problem in their own words rather than citing exact log text — e.g. 'requests failing because the database was down'. Covers all logs once they have been embedded (a background job embeds new logs shortly after ingest).
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The project to query. Call list_projects first to see which ids you can use. |
query * | string | Natural-language description of what to find. |
limit | integer | Max results to return (default 20, max 50). |
fetch_window
Fetch the log entries immediately before and after a timestamp, to see the context around a specific event.
| Parameter | Type | Description |
|---|---|---|
around_iso * | string | ISO-8601 timestamp to center the window on. |
project_id * | string | The project to query. Call list_projects first to see which ids you can use. |
n | integer | Entries on each side (default 10, max 50). |
create_project
Create a new Rudow project and get its first ingest key. org_id is optional only if you belong to exactly one org. The key is returned once: write it to the app's .env as RUDOW_API_KEY and do not repeat it in chat.
| Parameter | Type | Description |
|---|---|---|
name * | string | Project name. |
org_id | string | Org to create the project in. |
create_ingest_key
Mint an additional ingest key for a project. Returned once: write it to the app's .env as RUDOW_API_KEY and do not repeat it in chat.
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The project id. Call list_projects to see the ids you can use. |
check_ingestion
Check whether a project is receiving logs (use right after setup).
| Parameter | Type | Description |
|---|---|---|
project_id * | string | The project id. Call list_projects to see the ids you can use. |
resolve_incident
Close an incident. Set false_alarm to also record it as a false positive.
| Parameter | Type | Description |
|---|---|---|
incident_id * | string | The incident id. |
project_id * | string | The project id. Call list_projects to see the ids you can use. |
false_alarm | boolean |
request_postmortem
Ask Rudow to generate a postmortem for an incident.
| Parameter | Type | Description |
|---|---|---|
incident_id * | string | The incident id. |
project_id * | string | The project id. Call list_projects to see the ids you can use. |
update_postmortem
Edit an incident's postmortem. Only the fields you pass are changed.
| Parameter | Type | Description |
|---|---|---|
incident_id * | string | The incident id. |
project_id * | string | The project id. Call list_projects to see the ids you can use. |
action_items | array | |
sections | object | Map of section name to new text. |
status | string | |
what_to_fix | string | New text for the what-to-fix section. |