Traceo

v0.1.0
io.github.muhamad-0/traceo Checked 1 day ago Published 22 days ago

Traceo bug recordings (console, network, user actions, environment) as context for coding agents.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_recording Get Traceo recording summary

Start here. Summarizes a Traceo bug recording from its share link: page, environment (browser, viewport, locale), duration, event counts, the first errors and failed requests, the user actions leading up to the first error, and which tool to call next.

ParameterTypeDescription
recording *stringTraceo share link (e.g. https://www.traceo.dev/abc123...) or recording id.

get_timeline Get recording timeline

Console logs, network requests and user actions merged in time order, with times relative to recording start (+12.4s). Best view for reproducing a bug. Narrow with from_s/to_s around an error.

ParameterTypeDescription
recording *stringTraceo share link (e.g. https://www.traceo.dev/abc123...) or recording id.
cursorstringPagination cursor from a previous call.
from_snumberStart, in seconds from recording start.
limitintegerMax lines to return.
to_snumberEnd, in seconds from recording start.
typesarrayEvent kinds to include (default all).

get_console_logs Get console logs

Browser console output captured during the recording, one line per entry. Secrets are redacted.

ParameterTypeDescription
recording *stringTraceo share link (e.g. https://www.traceo.dev/abc123...) or recording id.
cursorstringPagination cursor from a previous call.
levelarrayOnly these levels (default all).
limitintegerMax lines to return.
searchstringCase-insensitive substring filter on the message.

get_network_requests Get network requests

HTTP requests captured during the recording, one line each: time, method, status, URL (query strings stripped), duration, type, size. No request/response bodies are captured. Sensitive headers are redacted.

ParameterTypeDescription
recording *stringTraceo share link (e.g. https://www.traceo.dev/abc123...) or recording id.
cursorstringPagination cursor from a previous call.
domainstringSubstring match on the request host.
include_headersbooleanInclude request (>) and response (<) headers. Default false.
limitintegerMax lines to return.
methodstringHTTP method, e.g. POST.
statusstring"failed" (network error or >=400), "2xx", "3xx", "4xx", "5xx", or an exact code like "404".
typestringResource type, e.g. xhr, fetch, script.

get_user_actions Get user actions

Clicks, inputs and navigations the reporter performed, in order, with target element and page path.

ParameterTypeDescription
recording *stringTraceo share link (e.g. https://www.traceo.dev/abc123...) or recording id.
cursorstringPagination cursor from a previous call.
limitintegerMax lines to return.

get_comments Get reporter comments

Comments the reporter attached to the recording when sharing it.

ParameterTypeDescription
recording *stringTraceo share link (e.g. https://www.traceo.dev/abc123...) or recording id.

get_thumbnail Get recording thumbnail

A still image of the recorded page (the recording thumbnail).

ParameterTypeDescription
recording *stringTraceo share link (e.g. https://www.traceo.dev/abc123...) or recording id.

get_frames Get video frames

Stills from the recording video, captured after each click, error and failed request plus an even spread. Pass at_s to see the screen at a moment (e.g. the time of an error from get_timeline), or from_s/to_s for a range. Returns up to 6 images.

ParameterTypeDescription
recording *stringTraceo share link (e.g. https://www.traceo.dev/abc123...) or recording id.
at_snumberSeconds from the start: returns the frames nearest this moment.
from_snumberStart of a range in seconds.
limitintegerHow many frames (default 3).
to_snumberEnd of a range in seconds.