MCPcopy Create free account
hub / github.com/codehamr/codehamr / schemaToTool

Function schemaToTool

internal/tui/model.go:697–707  ·  view source on GitHub ↗

schemaToTool unwraps a tool schema (the map[string]any shape shared by bash and the file tools) into the typed llm.Tool the chat payload expects.

(s map[string]any)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

buildToolsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected