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

Function resolve_tools

crates/opencode-session/src/prompt.rs:3143–3145  ·  view source on GitHub ↗
(tool_registry: &opencode_tool::ToolRegistry)

Source from the content-addressed store, hash-verified

3141}
3142
3143pub async fn resolve_tools(tool_registry: &opencode_tool::ToolRegistry) -> Vec<ToolDefinition> {
3144 resolve_tools_with_mcp_registry(tool_registry, None).await
3145}
3146
3147pub fn max_steps_for_agent(agent_steps: Option<u32>) -> u32 {
3148 agent_steps.unwrap_or(MAX_STEPS)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected