site_logs
Read a hosted project's server logs read-only
Description
A hosted project's server-code logs (functions/_worker.js): its console output, uncaught errors with their stack, and one line per request with status and time, newest last. hours (default 24, up to 72), level error | warn | request | all, contains (text to match), limit (up to 500). Read-only. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
namerequired | string | the project (its hermoso.page name) |
hours | number | |
level | "error" | "warn" | "request" | "all" | |
contains | string | |
limit | number |
Example call
Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/site_logs.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"site_logs","arguments":{"name":"<string>"}}}
CLI
hermoso call site_logs --json '{"name":"<string>"}'
Credits
Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.
Related tools
push_site_to_githubPush a hosted project to GitHubexport_site_dbExport a hosted project's databaseexport_siteDownload a hosted project as a ziplist_site_db_backupsList a hosted project's database snapshotsset_site_spend_capCap hosting spendrestore_site_dbRestore a hosted project's databaselist_site_usageHosting usage of hosted projectssite_email_reportA hosted project's email reportrollback_pageRoll a hosted project backset_site_email_suppressionEdit a hosted project's email suppression list