MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / resolve_tools

Function resolve_tools

crates/opencode-session/src/llm.rs:1321–1326  ·  view source on GitHub ↗
(
    tools: HashMap<String, ToolDefinition>,
    _agent: &LlmAgent,
)

Source from the content-addressed store, hash-verified

1319}
1320
1321fn resolve_tools(
1322 tools: HashMap<String, ToolDefinition>,
1323 _agent: &LlmAgent,
1324) -> HashMap<String, ToolDefinition> {
1325 tools
1326}
1327
1328/// Repair a tool call by trying case-insensitive matching.
1329/// If the tool name doesn't match any known tool, try lowercase.

Callers 1

stream_from_inputMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected