Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
type ToolCall = { tool: { id?: number function?: { name?: string arguments?: object } } response?: MCPResponse state?: string }