tool-search-tool changedagents-and-tools/tool-use/tool-search-tool
Nearest release: v2.1.310, published 11 hours after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+5added
Lines−5removed
From line
604
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits18to this page, all time
The whole hunk
from line 604, old and new numbered
/
from line 604
604604
605605When Claude uses the tool search tool, the response includes the following block types:
606606
607```text JSON
607```json JSON
608608{
609609 "role": "assistant",
610610 "content": [
from line 693
693693
694694**All tools deferred:**
695695
696```text
696```json
697697{
698698 "type": "error",
699699 "error": {
from line 705
705705
706706**Missing tool definition:**
707707
708```text wrap
708```json
709709{
710710 "type": "error",
711711 "error": {
from line 719
719719
720720When a tool search operation fails during execution, the API returns a 200 response with the error in the body:
721721
722```text JSON
722```json JSON
723723{
724724 "type": "tool_search_tool_result",
725725 "tool_use_id": "srvtoolu_01ABC123",
from line 793
793793
794794With streaming enabled, you'll receive tool search events as part of the stream:
795795
796```text
796```sse
797797event: content_block_start
798798data: {"type": "content_block_start", "index": 1, "content_block": {"type": "server_tool_use", "id": "srvtoolu_xyz789", "name": "tool_search_tool_regex"}}
799799
No line in this hunk matches that.