The ollama Go SDK changed ToolCallFunctionArguments from map[string]any to a struct backed by an ordered map. Use ToMap() for read access and NewToolCallFunctionArguments()+UnmarshalJSON for construction so the build matches the upgraded SDK.