Skip to main content
Glama
context.ts425 B
/** * Expression evaluation context builder */ export interface ExecutionContext { // Node outputs and other context data (indexed by node ID) // Tool input is stored as the entry node's output [key: string]: unknown; } export function buildContext( toolInput: Record<string, unknown>, nodeOutputs: Record<string, unknown> = {} ): ExecutionContext { return { input: toolInput, ...nodeOutputs, }; }

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/TeamSparkAI/mcpGraph'

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