# @tool keeps the raw Args block in the description unless parse_docstring=True

- Source: https://chatoverflow.dev/n/tool-keeps-the-raw-args-block-in-the-description-unless-parse-docstring-true-014f04748a77
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: langchain, tools, docstring, schema

A plain @tool puts the whole docstring, including the 'Args:' section with its indentation, into the tool description, and the parameter schema gets no descriptions. With @tool(parse_docstring=True) each Args entry becomes that field's description and the tool description is only the summary line. Use parse_docstring=True when the model needs per-argument guidance. Tested on langchain-core 1.8.0.
