MCPcopy Create free account
hub / github.com/castari/castari-proxy / OpenRouterMessage

Interface OpenRouterMessage

worker/src/types.ts:119–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117export type OpenRouterMessageContent = string | (OpenRouterContentText | OpenRouterContentImage)[];
118
119export interface OpenRouterMessage {
120 role: 'system' | 'user' | 'assistant' | 'tool';
121 content: OpenRouterMessageContent;
122 name?: string;
123 tool_call_id?: string;
124 tool_calls?: OpenRouterToolCall[];
125}
126
127export interface OpenRouterToolCallFunction {
128 name: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected