Skip to main content
Glama
use-widget-props.ts•410 B
import { useOpenAiGlobal } from "./use-openai-global"; export function useToolInput<T = unknown>(): T | null { return useOpenAiGlobal("toolInput") as T | null; } export function useToolOutput<T = unknown>(): T | null { return useOpenAiGlobal("toolOutput") as T | null; } export function useToolResponseMetadata<T = unknown>(): T | null { return useOpenAiGlobal("toolResponseMetadata") as T | null; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/GeneralJerel/ChessMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server