LLM API 博客

博客

AI 编程、Claude Code 优化与高性价比开发实践

Base URL checker & setup generator → · Client integration guides →

Engineering Notes

Tool-Use IDs in the Wild: When the Same ID Appears Twice

Long Claude Code sessions sometimes produced duplicate `tool_use_id` values from the upstream model. Naive fixes break round-trip correlation; the working answer is occurrence-counter dedup with two-direction translation. With diagnostic dumps for the cases that still slip.

2026-05-06 8
Yazhou Hu
Guide

Claude Code Tool Use: A Complete Developer Guide

Deep dive into Claude Code's six core tools (Read, Edit, Write, Bash, Grep, Glob), how the model decides which tool to call, parallel tool calls, and how to debug when tool use fails.

2026-04-23 11
Yazhou Hu