SPB Git forge

spb/doc-api

Public
2commits 1branches 0releases
15.7 MBsize
maindefault branch
13 days agolast push
Python 88.3% TypeScript 7.6% Shell 4.1%
31.4 KB · 1,205 lines json
Raw Blame History
1{2 "domain": "anthropic-tool-blocks",3 "generated_at": "2026-09-18",4 "count": 30,5 "records": [6  {7   "provider": "anthropic",8   "api_family": "messages",9   "name": "Tool use block (assistant)",10   "object": "tool_use",11   "schema_name": null,12   "description": "Claude's request to run a client tool.",13   "fields": {14    "type": "tool_use",15    "id": "toolu_…",16    "name": "string",17    "input": "object",18    "caller": "{type: direct} | {type: code_execution_20260120, tool_id: srvtoolu_…}",19    "toolset_name": "computer|browser (toolset members only)",20    "cache_control": "optional"21   },22   "status": [23    "DOCUMENTED",24    "LIVE_VERIFIED"25   ],26   "example": {27    "type": "tool_use",28    "id": "toolu_01DSKX54Pm98m42E64kMCrww",29    "name": "get_weather",30    "input": {31     "location": "Paris"32    },33    "caller": {34     "type": "direct"35    }36   },37   "example_source": "live a1 2026-09-18",38   "sources": [39    {40     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/handle-tool-calls",41     "retrieved_at": "2026-09-18"42    },43    {44     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/programmatic-tool-calling",45     "retrieved_at": "2026-09-18"46    }47   ]48  },49  {50   "provider": "anthropic",51   "api_family": "messages",52   "name": "Tool result block (user)",53   "object": "tool_result",54   "schema_name": null,55   "description": "Your answer to a tool_use block.",56   "fields": {57    "type": "tool_result",58    "tool_use_id": "toolu_…",59    "content": "string | [text|image|document|search_result|tool_reference|browser_state]",60    "is_error": "bool",61    "toolset_name": "computer|browser",62    "cache_control": "optional"63   },64   "status": [65    "DOCUMENTED",66    "LIVE_VERIFIED"67   ],68   "example": {69    "type": "tool_result",70    "tool_use_id": "toolu_01",71    "content": [72     {73      "type": "text",74      "text": "15 degrees"75     }76    ]77   },78   "example_source": "docs",79   "sources": [80    {81     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/handle-tool-calls",82     "retrieved_at": "2026-09-18"83    }84   ]85  },86  {87   "provider": "anthropic",88   "api_family": "messages",89   "name": "Caller (direct)",90   "object": "direct",91   "schema_name": null,92   "description": "caller variant for model-initiated calls.",93   "fields": {94    "type": "direct"95   },96   "status": [97    "DOCUMENTED",98    "LIVE_VERIFIED"99   ],100   "example": {101    "type": "direct"102   },103   "example_source": "live",104   "sources": [105    {106     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/programmatic-tool-calling",107     "retrieved_at": "2026-09-18"108    }109   ]110  },111  {112   "provider": "anthropic",113   "api_family": "messages",114   "name": "Caller (code execution)",115   "object": "code_execution_20260120",116   "schema_name": null,117   "description": "caller variant for programmatic calls; tool_id = the code_execution server_tool_use id. Always tagged 20260120 even if 20260521 was declared.",118   "fields": {119    "type": "code_execution_20260120",120    "tool_id": "srvtoolu_…"121   },122   "status": [123    "DOCUMENTED",124    "LIVE_VERIFIED"125   ],126   "example": {127    "type": "code_execution_20260120",128    "tool_id": "srvtoolu_01XRkMSA5mTTPpoGGMHeLMyb"129   },130   "example_source": "live g1",131   "sources": [132    {133     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/programmatic-tool-calling",134     "retrieved_at": "2026-09-18"135    }136   ]137  },138  {139   "provider": "anthropic",140   "api_family": "messages",141   "name": "Server tool use block",142   "object": "server_tool_use",143   "schema_name": null,144   "description": "Anthropic-executed tool call (id prefix srvtoolu_). Names: web_search, web_fetch, bash_code_execution, text_editor_code_execution, code_execution, tool_search_tool_regex, tool_search_tool_bm25, advisor.",145   "fields": {146    "type": "server_tool_use",147    "id": "srvtoolu_…",148    "name": "string",149    "input": "object",150    "caller": "optional (nested dynamic-filtering calls)"151   },152   "status": [153    "DOCUMENTED",154    "LIVE_VERIFIED"155   ],156   "example": {157    "type": "server_tool_use",158    "id": "srvtoolu_01WafKETTQ3UTdLCrTvD3nMs",159    "name": "web_search",160    "input": {161     "query": "Bank of Canada policy interest rate current"162    }163   },164   "example_source": "live c4",165   "sources": [166    {167     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/server-tools",168     "retrieved_at": "2026-09-18"169    }170   ]171  },172  {173   "provider": "anthropic",174   "api_family": "messages",175   "name": "Web search tool result",176   "object": "web_search_tool_result",177   "schema_name": null,178   "description": "Search results or error, paired by tool_use_id.",179   "fields": {180    "type": "web_search_tool_result",181    "tool_use_id": "srvtoolu_…",182    "content": "[web_search_result] | web_search_tool_result_error"183   },184   "status": [185    "DOCUMENTED",186    "LIVE_VERIFIED"187   ],188   "example": {189    "type": "web_search_tool_result",190    "tool_use_id": "srvtoolu_01WafKETTQ3UTdLCrTvD3nMs",191    "content": [192     {193      "type": "web_search_result",194      "title": "Bank of Canada interest rate decisions - The Globe and Mail",195      "url": "https://www.theglobeandmail.com/topics/bank-of-canada/",196      "encrypted_content": "EuAQ…",197      "page_age": "2 weeks ago"198     }199    ]200   },201   "example_source": "live c4 (truncated)",202   "sources": [203    {204     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-search-tool",205     "retrieved_at": "2026-09-18"206    }207   ]208  },209  {210   "provider": "anthropic",211   "api_family": "messages",212   "name": "Web search result item",213   "object": "web_search_result",214   "schema_name": null,215   "description": "One search hit.",216   "fields": {217    "type": "web_search_result",218    "url": "string",219    "title": "string",220    "encrypted_content": "opaque, must be round-tripped",221    "page_age": "string|null"222   },223   "status": [224    "DOCUMENTED",225    "LIVE_VERIFIED"226   ],227   "example": {228    "type": "web_search_result",229    "url": "https://en.wikipedia.org/wiki/Claude_Shannon",230    "title": "Claude Shannon - Wikipedia",231    "encrypted_content": "…",232    "page_age": "April 30, 2025"233   },234   "example_source": "docs",235   "sources": [236    {237     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-search-tool",238     "retrieved_at": "2026-09-18"239    }240   ]241  },242  {243   "provider": "anthropic",244   "api_family": "messages",245   "name": "Web search tool result error",246   "object": "web_search_tool_result_error",247   "schema_name": null,248   "description": "Error variant of web_search_tool_result.content.",249   "fields": {250    "type": "web_search_tool_result_error",251    "error_code": "too_many_requests|invalid_tool_input|max_uses_exceeded|query_too_long|request_too_large|unavailable"252   },253   "status": [254    "DOCUMENTED"255   ],256   "example": {257    "type": "web_search_tool_result_error",258    "error_code": "max_uses_exceeded"259   },260   "example_source": "docs",261   "sources": [262    {263     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-search-tool",264     "retrieved_at": "2026-09-18"265    }266   ]267  },268  {269   "provider": "anthropic",270   "api_family": "messages",271   "name": "Web search citation",272   "object": "web_search_result_location",273   "schema_name": null,274   "description": "Citation attached to a text block after web search.",275   "fields": {276    "type": "web_search_result_location",277    "url": "string",278    "title": "string",279    "encrypted_index": "opaque",280    "cited_text": "<=150 chars"281   },282   "status": [283    "DOCUMENTED",284    "LIVE_VERIFIED"285   ],286   "example": {287    "type": "web_search_result_location",288    "cited_text": "The Bank of Canada’s benchmark interest rate, known as the policy rate, is at 2.25 per cent. ",289    "url": "https://www.theglobeandmail.com/topics/bank-of-canada/",290    "title": "Bank of Canada interest rate decisions - The Globe and Mail",291    "encrypted_index": "Eo8B…"292   },293   "example_source": "live c4",294   "sources": [295    {296     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-search-tool",297     "retrieved_at": "2026-09-18"298    }299   ]300  },301  {302   "provider": "anthropic",303   "api_family": "messages",304   "name": "Web fetch tool result",305   "object": "web_fetch_tool_result",306   "schema_name": null,307   "description": "Fetched document or error.",308   "fields": {309    "type": "web_fetch_tool_result",310    "tool_use_id": "srvtoolu_…",311    "content": "web_fetch_result | web_fetch_tool_result_error",312    "caller": "{type: direct} (seen live)"313   },314   "status": [315    "DOCUMENTED",316    "LIVE_VERIFIED"317   ],318   "example": {319    "type": "web_fetch_tool_result",320    "tool_use_id": "srvtoolu_01Wyo96U86ZBHpoxvWHigCfL",321    "content": {322     "type": "web_fetch_result",323     "url": "https://example.com",324     "retrieved_at": "2026-09-18T21:31:53.465000+00:00",325     "content": {326      "type": "document",327      "source": {328       "type": "text",329       "media_type": "text/plain",330       "data": "…"331      },332      "title": "Example Domain",333      "citations": {334       "enabled": true335      }336     }337    },338    "caller": {339     "type": "direct"340    }341   },342   "example_source": "live d1",343   "sources": [344    {345     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-fetch-tool",346     "retrieved_at": "2026-09-18"347    }348   ]349  },350  {351   "provider": "anthropic",352   "api_family": "messages",353   "name": "Web fetch result",354   "object": "web_fetch_result",355   "schema_name": null,356   "description": "Successful fetch payload.",357   "fields": {358    "type": "web_fetch_result",359    "url": "string",360    "retrieved_at": "ISO-8601",361    "content": "document block (source text/plain or base64 application/pdf, title?, citations?)"362   },363   "status": [364    "DOCUMENTED"365   ],366   "example": {367    "type": "web_fetch_result",368    "url": "https://example.com/paper.pdf",369    "content": {370     "type": "document",371     "source": {372      "type": "base64",373      "media_type": "application/pdf",374      "data": "JVBERi0…"375     },376     "citations": {377      "enabled": true378     }379    },380    "retrieved_at": "2025-08-25T10:30:02Z"381   },382   "example_source": "docs",383   "sources": [384    {385     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-fetch-tool",386     "retrieved_at": "2026-09-18"387    }388   ]389  },390  {391   "provider": "anthropic",392   "api_family": "messages",393   "name": "Web fetch tool result error",394   "object": "web_fetch_tool_result_error",395   "schema_name": null,396   "description": "Error variant.",397   "fields": {398    "type": "web_fetch_tool_result_error",399    "error_code": "invalid_tool_input|url_too_long|url_not_allowed|url_not_in_prior_context|url_not_accessible|too_many_requests|unsupported_content_type|max_uses_exceeded|unavailable"400   },401   "status": [402    "DOCUMENTED",403    "LIVE_VERIFIED"404   ],405   "example": {406    "type": "web_fetch_tool_result_error",407    "error_code": "url_not_in_prior_context"408   },409   "example_source": "live k21",410   "sources": [411    {412     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-fetch-tool",413     "retrieved_at": "2026-09-18"414    }415   ]416  },417  {418   "provider": "anthropic",419   "api_family": "messages",420   "name": "Bash code execution tool result",421   "object": "bash_code_execution_tool_result",422   "schema_name": null,423   "description": "Result of the code_execution bash sub-tool.",424   "fields": {425    "type": "bash_code_execution_tool_result",426    "tool_use_id": "srvtoolu_…",427    "content": "bash_code_execution_result | bash_code_execution_tool_result_error"428   },429   "status": [430    "DOCUMENTED",431    "LIVE_VERIFIED"432   ],433   "example": {434    "type": "bash_code_execution_tool_result",435    "tool_use_id": "srvtoolu_017wgbCMpCoaqP1rGX7nhccu",436    "content": {437     "type": "bash_code_execution_result",438     "stdout": "4\n",439     "stderr": "",440     "return_code": 0,441     "content": []442    }443   },444   "example_source": "live e1",445   "sources": [446    {447     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool",448     "retrieved_at": "2026-09-18"449    }450   ]451  },452  {453   "provider": "anthropic",454   "api_family": "messages",455   "name": "Bash code execution result",456   "object": "bash_code_execution_result",457   "schema_name": null,458   "description": "stdout/stderr/return_code + captured $OUTPUT_DIR files.",459   "fields": {460    "type": "bash_code_execution_result",461    "stdout": "string",462    "stderr": "string",463    "return_code": "int",464    "content": "[{type: code_execution_output, file_id}]"465   },466   "status": [467    "DOCUMENTED",468    "LIVE_VERIFIED"469   ],470   "example": {471    "type": "bash_code_execution_result",472    "stdout": "hi\n",473    "stderr": "",474    "return_code": 0,475    "content": []476   },477   "example_source": "live e2",478   "sources": [479    {480     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool",481     "retrieved_at": "2026-09-18"482    }483   ]484  },485  {486   "provider": "anthropic",487   "api_family": "messages",488   "name": "Text editor code execution tool result",489   "object": "text_editor_code_execution_tool_result",490   "schema_name": null,491   "description": "Result of the code_execution file sub-tool.",492   "fields": {493    "type": "text_editor_code_execution_tool_result",494    "tool_use_id": "srvtoolu_…",495    "content": "text_editor_code_execution_view_result{file_type,content,num_lines,start_line,total_lines} | …_create_result{is_file_update} | …_str_replace_result{old_start,old_lines,new_start,new_lines,lines[]} | text_editor_code_execution_tool_result_error{error_code}"496   },497   "status": [498    "DOCUMENTED"499   ],500   "example": {501    "type": "text_editor_code_execution_tool_result",502    "tool_use_id": "srvtoolu_01C4D5E6F7G8H9I0J1K2L3M4",503    "content": {504     "type": "text_editor_code_execution_view_result",505     "file_type": "text",506     "content": "{\n  \"setting\": \"value\"\n}",507     "num_lines": 3,508     "start_line": 1,509     "total_lines": 3510    }511   },512   "example_source": "docs",513   "sources": [514    {515     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool",516     "retrieved_at": "2026-09-18"517    }518   ]519  },520  {521   "provider": "anthropic",522   "api_family": "messages",523   "name": "Code execution tool result (Python cell / legacy)",524   "object": "code_execution_tool_result",525   "schema_name": null,526   "description": "Result of a code_execution Python cell (PTC, 20260120+) or of the legacy 20250522 tool.",527   "fields": {528    "type": "code_execution_tool_result",529    "tool_use_id": "srvtoolu_…",530    "content": "code_execution_result{stdout,stderr,return_code,content[],abort_reason?} | code_execution_tool_result_error{error_code}"531   },532   "status": [533    "DOCUMENTED",534    "LIVE_VERIFIED",535    "LIVE_DISCOVERED"536   ],537   "example": {538    "type": "code_execution_tool_result",539    "tool_use_id": "srvtoolu_01XRkMSA5mTTPpoGGMHeLMyb",540    "content": {541     "type": "code_execution_result",542     "stdout": "[{'one': 1}]\n",543     "stderr": "",544     "return_code": 0,545     "content": [],546     "abort_reason": null547    }548   },549   "example_source": "live g2 (abort_reason undocumented)",550   "sources": [551    {552     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/programmatic-tool-calling",553     "retrieved_at": "2026-09-18"554    },555    {556     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool",557     "retrieved_at": "2026-09-18"558    }559   ]560  },561  {562   "provider": "anthropic",563   "api_family": "messages",564   "name": "Code execution tool result error",565   "object": "code_execution_tool_result_error",566   "schema_name": null,567   "description": "Error variant (also bash_/text_editor_ prefixed).",568   "fields": {569    "type": "code_execution_tool_result_error",570    "error_code": "unavailable|execution_time_exceeded|invalid_tool_input|too_many_requests|output_file_too_large|file_not_found"571   },572   "status": [573    "DOCUMENTED"574   ],575   "example": {576    "type": "bash_code_execution_tool_result_error",577    "error_code": "unavailable"578   },579   "example_source": "docs",580   "sources": [581    {582     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool",583     "retrieved_at": "2026-09-18"584    }585   ]586  },587  {588   "provider": "anthropic",589   "api_family": "messages",590   "name": "Container (response)",591   "object": "container",592   "schema_name": null,593   "description": "Top-level response field when code execution ran.",594   "fields": {595    "id": "container_…",596    "expires_at": "ISO-8601 rolling (~5 h ahead live); 30-day hard limit not reported",597    "skills": "[{type, skill_id, version}]|null"598   },599   "status": [600    "DOCUMENTED",601    "LIVE_VERIFIED"602   ],603   "example": {604    "id": "container_01YXRh6bhAJd4WeWsdo29Bgg",605    "expires_at": "2026-09-19T02:49:11.949149Z"606   },607   "example_source": "live e1",608   "sources": [609    {610     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool",611     "retrieved_at": "2026-09-18"612    },613    {614     "url": "https://platform.claude.com/docs/en/api/messages/create",615     "retrieved_at": "2026-09-18"616    }617   ]618  },619  {620   "provider": "anthropic",621   "api_family": "messages",622   "name": "Container upload block (user)",623   "object": "container_upload",624   "schema_name": null,625   "description": "Preload a Files API file into the container.",626   "fields": {627    "type": "container_upload",628    "file_id": "file_…"629   },630   "status": [631    "DOCUMENTED"632   ],633   "example": {634    "type": "container_upload",635    "file_id": "file_011CNha8iCJcU1wXNR6q4V8w"636   },637   "example_source": "docs",638   "sources": [639    {640     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool",641     "retrieved_at": "2026-09-18"642    }643   ]644  },645  {646   "provider": "anthropic",647   "api_family": "messages",648   "name": "Tool search tool result",649   "object": "tool_search_tool_result",650   "schema_name": null,651   "description": "Discovered tool references (server-side format).",652   "fields": {653    "type": "tool_search_tool_result",654    "tool_use_id": "srvtoolu_…",655    "content": "tool_search_tool_search_result{tool_references[]} | tool_search_tool_result_error{error_code,error_message}"656   },657   "status": [658    "DOCUMENTED",659    "LIVE_VERIFIED"660   ],661   "example": {662    "type": "tool_search_tool_result",663    "tool_use_id": "srvtoolu_0174JggKYYgM6KLN5X3WkG8N",664    "content": {665     "type": "tool_search_tool_search_result",666     "tool_references": [667      {668       "type": "tool_reference",669       "tool_name": "get_weather"670      }671     ]672    }673   },674   "example_source": "live f1",675   "sources": [676    {677     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/tool-search-tool",678     "retrieved_at": "2026-09-18"679    }680   ]681  },682  {683   "provider": "anthropic",684   "api_family": "messages",685   "name": "Tool reference block",686   "object": "tool_reference",687   "schema_name": null,688   "description": "Pointer to a deferred tool; the API expands it into the full definition. Also valid inside a custom tool_result for client-side tool search.",689   "fields": {690    "type": "tool_reference",691    "tool_name": "string"692   },693   "status": [694    "DOCUMENTED",695    "LIVE_VERIFIED"696   ],697   "example": {698    "type": "tool_reference",699    "tool_name": "get_weather"700   },701   "example_source": "docs",702   "sources": [703    {704     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/tool-search-tool",705     "retrieved_at": "2026-09-18"706    }707   ]708  },709  {710   "provider": "anthropic",711   "api_family": "messages",712   "name": "Tool search tool result error",713   "object": "tool_search_tool_result_error",714   "schema_name": null,715   "description": "Error variant (200 response).",716   "fields": {717    "type": "tool_search_tool_result_error",718    "error_code": "invalid_tool_input|unavailable|too_many_requests|execution_time_exceeded",719    "error_message": "string"720   },721   "status": [722    "DOCUMENTED"723   ],724   "example": {725    "type": "tool_search_tool_result_error",726    "error_code": "invalid_tool_input",727    "error_message": "Invalid regular expression pattern: missing ) at position 1"728   },729   "example_source": "docs",730   "sources": [731    {732     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/tool-search-tool",733     "retrieved_at": "2026-09-18"734    }735   ]736  },737  {738   "provider": "anthropic",739   "api_family": "messages",740   "name": "MCP tool use block",741   "object": "mcp_tool_use",742   "schema_name": null,743   "description": "Claude calling a remote MCP tool via the connector (id prefix mcptoolu_).",744   "fields": {745    "type": "mcp_tool_use",746    "id": "mcptoolu_…",747    "name": "string",748    "server_name": "string",749    "input": "object"750   },751   "status": [752    "DOCUMENTED",753    "BETA",754    "LIVE_VERIFIED"755   ],756   "example": {757    "type": "mcp_tool_use",758    "id": "mcptoolu_01SvS54EZae5f3nhQCKNuBu5",759    "name": "read_wiki_structure",760    "input": {761     "repoName": "anthropics/anthropic-sdk-python"762    },763    "server_name": "deepwiki"764   },765   "example_source": "live i1",766   "sources": [767    {768     "url": "https://platform.claude.com/docs/en/agents-and-tools/mcp-connector",769     "retrieved_at": "2026-09-18"770    }771   ]772  },773  {774   "provider": "anthropic",775   "api_family": "messages",776   "name": "MCP tool result block",777   "object": "mcp_tool_result",778   "schema_name": null,779   "description": "Result returned by the MCP server (executed by Anthropic).",780   "fields": {781    "type": "mcp_tool_result",782    "tool_use_id": "mcptoolu_…",783    "is_error": "bool",784    "content": "string | [text …]"785   },786   "status": [787    "DOCUMENTED",788    "BETA",789    "LIVE_VERIFIED"790   ],791   "example": {792    "type": "mcp_tool_result",793    "tool_use_id": "mcptoolu_01SvS54EZae5f3nhQCKNuBu5",794    "is_error": false,795    "content": [796     {797      "type": "text",798      "text": "Available pages for anthropics/anthropic-sdk-python:\n\n- 1 Overview\n- 2 Installation and Setup\n…"799     }800    ]801   },802   "example_source": "live i1 (truncated)",803   "sources": [804    {805     "url": "https://platform.claude.com/docs/en/agents-and-tools/mcp-connector",806     "retrieved_at": "2026-09-18"807    }808   ]809  },810  {811   "provider": "anthropic",812   "api_family": "messages",813   "name": "Advisor tool result",814   "object": "advisor_tool_result",815   "schema_name": null,816   "description": "Advisor guidance block.",817   "fields": {818    "type": "advisor_tool_result",819    "tool_use_id": "srvtoolu_…",820    "content": "advisor_result{text,stop_reason?} | advisor_redacted_result{encrypted_content,stop_reason?} | advisor_tool_result_error{error_code}"821   },822   "status": [823    "DOCUMENTED",824    "BETA"825   ],826   "example": {827    "type": "advisor_tool_result",828    "tool_use_id": "srvtoolu_abc123",829    "content": {830     "type": "advisor_result",831     "text": "Use a channel-based coordination pattern…"832    }833   },834   "example_source": "docs",835   "sources": [836    {837     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool",838     "retrieved_at": "2026-09-18"839    }840   ]841  },842  {843   "provider": "anthropic",844   "api_family": "messages",845   "name": "Usage server_tool_use",846   "object": "usage.server_tool_use",847   "schema_name": null,848   "description": "Server tool counters in usage.",849   "fields": {850    "web_search_requests": "int",851    "web_fetch_requests": "int",852    "code_execution_requests": "int (documented; NOT present live 2026-09-18)"853   },854   "status": [855    "DOCUMENTED",856    "LIVE_VERIFIED"857   ],858   "example": {859    "server_tool_use": {860     "web_search_requests": 0,861     "web_fetch_requests": 1862    }863   },864   "example_source": "live d1",865   "sources": [866    {867     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-search-tool",868     "retrieved_at": "2026-09-18"869    },870    {871     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/web-fetch-tool",872     "retrieved_at": "2026-09-18"873    },874    {875     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool",876     "retrieved_at": "2026-09-18"877    }878   ]879  },880  {881   "provider": "anthropic",882   "api_family": "messages",883   "name": "Usage iterations (advisor)",884   "object": "usage.iterations[]",885   "schema_name": null,886   "description": "Per-iteration token breakdown when the advisor tool is present.",887   "fields": {888    "type": "message|advisor_message",889    "model": "advisor model (advisor_message only)",890    "input_tokens": "int",891    "output_tokens": "int",892    "cache_read_input_tokens": "int",893    "cache_creation_input_tokens": "int"894   },895   "status": [896    "DOCUMENTED",897    "BETA",898    "LIVE_VERIFIED"899   ],900   "example": {901    "iterations": [902     {903      "type": "message",904      "input_tokens": 990,905      "output_tokens": 5,906      "cache_read_input_tokens": 0,907      "cache_creation_input_tokens": 0908     }909    ]910   },911   "example_source": "live k18",912   "sources": [913    {914     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/advisor-tool",915     "retrieved_at": "2026-09-18"916    }917   ]918  },919  {920   "provider": "anthropic",921   "api_family": "messages",922   "name": "Browser state block (user)",923   "object": "browser_state",924   "schema_name": null,925   "description": "Tab inventory returned with browser toolset results.",926   "fields": {927    "type": "browser_state",928    "tabs": "[{tab_id, title, url, active?}] (<=100)",929    "state_changes": "[{type: tab_opened, tab_id} | {type: download_started|download_completed|download_failed, …}] (<=200, omit when empty)"930   },931   "status": [932    "DOCUMENTED"933   ],934   "example": {935    "type": "browser_state",936    "tabs": [937     {938      "tab_id": "tab-1",939      "title": "Documentation",940      "url": "https://example.com/docs",941      "active": true942     }943    ]944   },945   "example_source": "docs",946   "sources": [947    {948     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/browser-use-tool",949     "retrieved_at": "2026-09-18"950    }951   ]952  },953  {954   "provider": "anthropic",955   "api_family": "messages",956   "name": "Computer use action schemas",957   "object": "computer.actions",958   "schema_name": null,959   "description": "Per-version action/member inputs.",960   "fields": {961    "computer_20250124": {962     "input.action": [963      "key",964      "hold_key",965      "type",966      "cursor_position",967      "mouse_move",968      "left_mouse_down",969      "left_mouse_up",970      "left_click",971      "left_click_drag",972      "right_click",973      "middle_click",974      "double_click",975      "triple_click",976      "scroll",977      "wait",978      "screenshot"979     ],980     "params": {981      "screenshot": {},982      "zoom": {983       "region": "[x0,y0,x1,y1]"984      },985      "left_click": {986       "coordinate?": "[x,y]",987       "text?": "modifier keys shift|ctrl|alt|super joined with +"988      },989      "right_click|middle_click|double_click|triple_click": "same as left_click",990      "left_click_drag": {991       "start_coordinate": "[x,y]",992       "coordinate": "[x,y]",993       "text?": "modifiers"994      },995      "mouse_move": {996       "coordinate": "[x,y]"997      },998      "left_mouse_down|left_mouse_up": {},999      "cursor_position": {},1000      "scroll": {1001       "scroll_direction": "up|down|left|right",1002       "scroll_amount": "int clicks",1003       "coordinate?": "[x,y]",1004       "text?": "modifiers"1005      },1006      "type": {1007       "text": "string"1008      },1009      "key": {1010       "text": "key or chord e.g. Return, ctrl+s",1011       "repeat?": "1-100 (toolset only)"1012      },1013      "hold_key": {1014       "text": "key",1015       "duration": "seconds <=300"1016      },1017      "wait": {1018       "duration": "seconds <=300"1019      }1020     }1021    },1022    "computer_20251124": {1023     "input.action": [1024      "key",1025      "hold_key",1026      "type",1027      "cursor_position",1028      "mouse_move",1029      "left_mouse_down",1030      "left_mouse_up",1031      "left_click",1032      "left_click_drag",1033      "right_click",1034      "middle_click",1035      "double_click",1036      "triple_click",1037      "scroll",1038      "wait",1039      "screenshot",1040      "zoom (when enable_zoom:true)"1041     ],1042     "params": {1043      "screenshot": {},1044      "zoom": {1045       "region": "[x0,y0,x1,y1]"1046      },1047      "left_click": {1048       "coordinate?": "[x,y]",1049       "text?": "modifier keys shift|ctrl|alt|super joined with +"1050      },1051      "right_click|middle_click|double_click|triple_click": "same as left_click",1052      "left_click_drag": {1053       "start_coordinate": "[x,y]",1054       "coordinate": "[x,y]",1055       "text?": "modifiers"1056      },1057      "mouse_move": {1058       "coordinate": "[x,y]"1059      },1060      "left_mouse_down|left_mouse_up": {},1061      "cursor_position": {},1062      "scroll": {1063       "scroll_direction": "up|down|left|right",1064       "scroll_amount": "int clicks",1065       "coordinate?": "[x,y]",1066       "text?": "modifiers"1067      },1068      "type": {1069       "text": "string"1070      },1071      "key": {1072       "text": "key or chord e.g. Return, ctrl+s",1073       "repeat?": "1-100 (toolset only)"1074      },1075      "hold_key": {1076       "text": "key",1077       "duration": "seconds <=300"1078      },1079      "wait": {1080       "duration": "seconds <=300"1081      }1082     }1083    },1084    "computer_toolset_20260801": {1085     "member tool names": [1086      "screenshot",1087      "zoom",1088      "left_click",1089      "right_click",1090      "middle_click",1091      "double_click",1092      "triple_click",1093      "left_click_drag",1094      "mouse_move",1095      "left_mouse_down",1096      "left_mouse_up",1097      "cursor_position",1098      "scroll",1099      "type",1100      "key",1101      "hold_key",1102      "wait"1103     ],1104     "params": {1105      "screenshot": {},1106      "zoom": {1107       "region": "[x0,y0,x1,y1]"1108      },1109      "left_click": {1110       "coordinate?": "[x,y]",1111       "text?": "modifier keys shift|ctrl|alt|super joined with +"1112      },1113      "right_click|middle_click|double_click|triple_click": "same as left_click",1114      "left_click_drag": {1115       "start_coordinate": "[x,y]",1116       "coordinate": "[x,y]",1117       "text?": "modifiers"1118      },1119      "mouse_move": {1120       "coordinate": "[x,y]"1121      },1122      "left_mouse_down|left_mouse_up": {},1123      "cursor_position": {},1124      "scroll": {1125       "scroll_direction": "up|down|left|right",1126       "scroll_amount": "int clicks",1127       "coordinate?": "[x,y]",1128       "text?": "modifiers"1129      },1130      "type": {1131       "text": "string"1132      },1133      "key": {1134       "text": "key or chord e.g. Return, ctrl+s",1135       "repeat?": "1-100 (toolset only)"1136      },1137      "hold_key": {1138       "text": "key",1139       "duration": "seconds <=300"1140      },1141      "wait": {1142       "duration": "seconds <=300"1143      }1144     },1145     "key.repeat": "1-100"1146    }1147   },1148   "status": [1149    "DOCUMENTED",1150    "LIVE_VERIFIED"1151   ],1152   "example": {1153    "type": "tool_use",1154    "id": "toolu_01Ppr3sZ3TnE9m6VUu4RyH2K",1155    "name": "type",1156    "toolset_name": "computer",1157    "input": {1158     "text": "pictures of cats"1159    }1160   },1161   "example_source": "docs",1162   "sources": [1163    {1164     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/computer-use-tool",1165     "retrieved_at": "2026-09-18"1166    }1167   ]1168  },1169  {1170   "provider": "anthropic",1171   "api_family": "messages",1172   "name": "Streaming: input_json_delta",1173   "object": "input_json_delta",1174   "schema_name": null,1175   "description": "content_block_delta payload carrying partial JSON of tool_use/server_tool_use/mcp_tool_use input.",1176   "fields": {1177    "type": "input_json_delta",1178    "partial_json": "string fragment (first is often \"\")"1179   },1180   "status": [1181    "DOCUMENTED",1182    "LIVE_VERIFIED"1183   ],1184   "example": {1185    "type": "content_block_delta",1186    "index": 0,1187    "delta": {1188     "type": "input_json_delta",1189     "partial_json": "{\"locat"1190    }1191   },1192   "example_source": "live b1",1193   "sources": [1194    {1195     "url": "https://platform.claude.com/docs/en/build-with-claude/streaming",1196     "retrieved_at": "2026-09-18"1197    },1198    {1199     "url": "https://platform.claude.com/docs/en/agents-and-tools/tool-use/fine-grained-tool-streaming",1200     "retrieved_at": "2026-09-18"1201    }1202   ]1203  }1204 ]1205}