get_share
Retrieve publicly shared website analytics data using a share ID. Access website statistics without authentication for shared reports.
Instructions
Get shared website data by share ID (public access, no auth required for the share itself)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| shareId | Yes | The share ID of a publicly shared website |
Implementation Reference
- src/tools/account.ts:78-88 (handler)The tool definition and implementation handler for 'get_share', which fetches shared website data using a share ID.
server.tool( "get_share", "Get shared website data by share ID (public access, no auth required for the share itself)", { shareId: z.string().describe("The share ID of a publicly shared website"), }, async ({ shareId }) => { const data = await client.call("GET", `/api/share/${shareId}`); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] }; } );