Spaces:
Running
Running
| """SSE content_block ``type`` values for Anthropic web server tools (local handlers). | |
| Shared by :mod:`api.web_tools` and stream contract tests to avoid drift. | |
| """ | |
| from __future__ import annotations | |
| from typing import Final | |
| SERVER_TOOL_USE: Final = "server_tool_use" | |
| WEB_SEARCH_TOOL_RESULT: Final = "web_search_tool_result" | |
| WEB_FETCH_TOOL_RESULT: Final = "web_fetch_tool_result" | |
| WEB_SEARCH_TOOL_RESULT_ERROR: Final = "web_search_tool_result_error" | |
| WEB_FETCH_TOOL_ERROR: Final = "web_fetch_tool_error" | |