{
  "id": "langchain-custom-tools-table",
  "kind": "table",
  "slug": "langchain-custom-tools",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/langchain-custom-tools/",
  "title": "Define LangChain tools with @tool and type hints",
  "columns": [
    "name",
    "source",
    "detail"
  ],
  "rows": [
    {
      "name": "Name",
      "source": "LangChain docs",
      "detail": "The function name, or @tool(\"custom_name\")"
    },
    {
      "name": "Description",
      "source": "LangChain docs",
      "detail": "A description argument"
    },
    {
      "name": "Input schema",
      "source": "LangChain docs",
      "detail": "Type hints, or args_schema with a Pydantic model or JSON schema"
    }
  ],
  "related_slugs": [
    "hf-transformers-pipeline",
    "python-typing-annotations",
    "python-dataclasses"
  ],
  "license": "CC-BY-4.0",
  "source_license": "MIT (LangChain docs); MIT (LangChain Core reference); prose restates cited source lines in own words",
  "as_of": "2026-11-19",
  "status": "deep-draft-20261119",
  "note": "Restated from the note's GREEN sources; check those sources before relying on a value."
}