MCPcopy Create free account
hub / github.com/aiprodcoder/MIXAPI / SetToolCalls

Method SetToolCalls

dto/openai_request.go:243–246  ·  view source on GitHub ↗
(toolCalls any)

Source from the content-addressed store, hash-verified

241}
242
243func (m *Message) SetToolCalls(toolCalls any) {
244 toolCallsJson, _ := json.Marshal(toolCalls)
245 m.ToolCalls = toolCallsJson
246}
247
248func (m *Message) StringContent() string {
249 switch m.Content.(type) {

Callers 4

ClaudeToOpenAIRequestFunction · 0.95
requestOpenAI2MistralFunction · 0.80
ResponseClaude2OpenAIFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected