MCP Tools

All Model Context Protocol (MCP) tools are declared in llmAssistant/mcp-config.json and executed through tools/llm_tool.sh.

Tool Matrix

Tool Name Purpose Main Inputs
llm_autocomplete Generate insertion text at a cursor position for a file context. path, content, cursorOffset, optional language
git_commit_message Generate commit message text from structured diff entries. diffs[] with repoPath, filePath, diff
llm_resolve_conflict Resolve Git conflict content from base/ours/theirs inputs. required ours, theirs; optional base, source

Contract Characteristics

Autocomplete returns insertion content instead of full-file rewrites, commit-message generation returns plain Git-ready text, and conflict resolution uses deterministic merge before model fallback. All failures are returned as explicit JSON with ok: false.

Execution Notes

Tools remain provider-agnostic through Achilles default agent registration, prompt sizes are bounded by dispatcher clipping constants, and MCP callers consume normalized output fields rather than provider-native response structures.