Something went wrong. Try again.
Monorepo for Aesthetic.Computer aesthetic.computer
Something went wrong. Try again.
621 B · 22 lines
TypeScript
1234567891011121314151617181920212223// Tool: get_api_info// Fetch the full API documentation from aesthetic.computer
export const getAPIInfoTool = { name: "get_api_info", description: "Get the full API documentation for aesthetic.computer, including all available endpoints and examples.", inputSchema: { type: "object" as const, properties: {}, },};
export async function getAPIInfo() { const response = await fetch("https://aesthetic.computer/api/api-docs?format=json");
if (!response.ok) { throw new Error(`Failed to fetch API info: ${response.statusText}`); }
const apiDocs = await response.json(); return apiDocs;}