get_website_team
Retrieve the team members assigned to a specific website by providing its ID.
Instructions
Get website team members.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| website_id | Yes | The website ID |
Implementation Reference
- server/index.js:426-437 (registration)The tool 'get_website_team' is registered via server.tool() with the 'Get Website Team Members' description, a single input schema (website_id), and metadata options.
server.tool( "get_website_team", "Get website team members.", { website_id: z.string().describe("The website ID"), }, { title: "Get Website Team", readOnlyHint: true, destructiveHint: false, openWorldHint: false }, async ({ website_id }) => { const data = await apiCall(`/v1/workspace/website/${website_id}/team`, "GET"); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] }; } ); - server/index.js:433-436 (handler)The handler function for 'get_website_team' which takes website_id, calls the API endpoint /v1/workspace/website/{website_id}/team via GET, and returns the JSON response.
async ({ website_id }) => { const data = await apiCall(`/v1/workspace/website/${website_id}/team`, "GET"); return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] }; } - server/index.js:429-431 (schema)Input schema for 'get_website_team' requiring a single string parameter 'website_id' with a Zod schema description 'The website ID'.
{ website_id: z.string().describe("The website ID"), }, - server/index.js:432-432 (helper)Metadata options for the tool including title 'Get Website Team', readOnlyHint: true, destructiveHint: false, openWorldHint: false.
{ title: "Get Website Team", readOnlyHint: true, destructiveHint: false, openWorldHint: false },