Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.317 ·

New agent and mcp_tool hook types, enabled through a remote list

Hooks gain agent and mcp_tool types, accepted only when the remote tengu_woven_ladder list names them

Group of 3 You'll notice Notable Nothing to try yet In Development
JSON All of v2.1.317
You'll noticeTier: how much it should matter to you
5Useful: my rating, 1 to 5
5Signal: worth watching, 1 to 5
HooksArea: what it touches
In DevelopmentKind: in v2.1.317,
What probably matters to youSection of the release

What

Hooks are commands or prompts you configure to run automatically at certain moments, such as before a tool runs. Two new hook types are being added:

  • An agent hook type, with the fields prompt, if, timeout, model, status_message and once.
  • An mcp_tool hook type, which calls a tool on an MCP server (an add-on that supplies tools), with server, tool, input, if, timeout, status_message and once.
  • Hooks of these types are only accepted when a list fetched from Anthropic's remote settings, tengu_woven_ladder, contains "agent" or "mcp_tool". The list defaults to empty, and with it empty these hooks are treated as an unknown kind, as before. Nothing has been read about this list yet.
  • mcp_tool hooks are kept in a separate "not connected" group, their number is capped, and their server name must match a pattern. A pattern for plugin-qualified names (plugin:<name>:...) is also added.
  • A new error says mcp_tool hooks are not available for a hook event that has no MCP connection behind it, naming the event.

Before, only prompt and command hooks were read.

Why

Once enabled, hooks could start a subagent or call an MCP tool directly. If you configure an mcp_tool hook on an event that does not support it, you now get an explicit error.

See this entry in the whole of v2.1.317 →

Feedback