Langchain Content Blocks

"Works correctly with LangChain 1.0's typed content blocks on AIMessage.content\n\ \u2014 text, tool_use, image, thinking, document \u2014 across Claude, GPT-4o, and\n\ Gemini, including multi-modal composition and tool-call iteration. Use when\ncomposing\ \ multi-modal messages, iterating tool_use blocks, handling Claude's\nthinking content,\ \ or unifying image inputs across providers. Trigger with\n\"langchain content blocks\"\ , \"AIMessage.content\", \"tool_use block\", \"claude\nimage input\", \"langchain\ \ multimodal\", \"thinking block replay\",\n\"claude citations\".\n"

thedixitjain 7cd8534 6 files · 43.7 KB Updated 2 repo stars

File contents

thedixitjain/the-mega-skill-library/tree/main/library/writing-and-content/langchain-content-blocks commit 7cd8534dcc

Frequently asked questions

npx skillmds add thedixitjain/langchain-content-blocks