Read a BrewPage publication
read_publicationRead content, owner source, owner settings or statistics for a publication. Site content returns its manifest or named path. File content returns a download reference. KV without key lists keys. Continue long content with the returned offset. A secret ({"kind":"secret","id":} or its manage link) returns its state, views and open times, never its content.
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": "read_publication"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Publication id, or a secret's 10-character ref | |
| tz | No | Stats only. IANA time zone, default UTC | |
| key | No | KV key. Excludes hosting. | |
| kind | No | Publication kind returned by publish or list; secret with its ref as id | |
| path | No | Relative site file path. Omit for the owner manifest | |
| view | No | Default content. HTML source, settings and stats are owner reads | |
| range | No | Stats only. Days, default 30 | |
| offset | No | Next character offset from a previous read | |
| password | No | Reader password when content is protected | |
| manageUrl | No | Private link as target and proof. | |
| namespace | No | ||
| ownerToken | No | Private owner proof. |