MCPcopy Create free account
hub / github.com/MiniMax-AI/OpenRoom / parseInlineArgValue

Function parseInlineArgValue

apps/webuiapps/src/lib/llmClient.ts:103–111  ·  view source on GitHub ↗
(rawValue: string)

Source from the content-addressed store, hash-verified

101}
102
103function parseInlineArgValue(rawValue: string): unknown {
104 const trimmed = rawValue.trim();
105 if (!trimmed) return '';
106 try {
107 return JSON.parse(trimmed);
108 } catch {
109 return trimmed;
110 }
111}
112
113function extractInlineToolCalls(rawContent: string): InlineToolParseResult {
114 const content = stripThinkTags(rawContent);

Callers 1

extractInlineToolCallsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected