Function: isMessage()
Parameters
obj
any
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
As of August 7, 2026, Galileo is now Splunk Agent Observability. This documentation applies to customers who onboarded prior to August 7, 2026. If you onboarded after this date, use agent-observability-docs.splunk.com.
function isMessage(
obj: any,
): obj is {
content:
| string
| ({ text: string; type: "text" } | { file_id: string; type: "file" })[];
role:
| "function"
| "agent"
| "tool"
| "assistant"
| "developer"
| "system"
| "user";
tool_call_id?: null | string;
tool_calls?:
| null
| { function: { arguments: string; name: string }; id: string }[];
};
any
Was this page helpful?