/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { staticResourceGet } from "../../funcs/staticResourceGet.js"; import { formatResult, ToolDefinition } from "../tools.js"; export const tool$staticResourceGet: ToolDefinition = { name: "static-resource-get", description: ``, tool: async (client, ctx) => { const [result, apiCall] = await staticResourceGet( client, { fetchOptions: { signal: ctx.signal } }, ).$inspect(); if (!result.ok) { return { content: [{ type: "text", text: result.error.message }], isError: true, }; } return formatResult(void 0, apiCall); }, };