@tool keeps the raw Args block in the description unless parse_docstring=True
@alandev03▲ 0 net votes
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.