get_psas
Retrieve public service announcements from MonkeyType to access important community updates and notifications.
Instructions
Get public service announcements
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- server.js:487-492 (handler)The switch case handler for the 'get_psas' tool. It calls the MonkeyType API endpoint '/psas' with GET method using the shared apiKey and returns the JSON-stringified result as tool content.case "get_psas": { const result = await callMonkeyTypeApi('/psas', 'GET', apiKey); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }], }; }
- server.js:96-96 (schema)Zod input schema definition for the 'get_psas' tool. Extends BaseApiSchema with no additional parameters.const GetPsasSchema = BaseApiSchema.extend({});
- server.js:256-260 (registration)Tool registration object for 'get_psas' in the ListToolsRequest handler, including name, description, and input schema.{ name: "get_psas", description: "Get public service announcements", inputSchema: zodToJsonSchema(GetPsasSchema), },