(name: str, id: str, input: dict[str, Any], *, toolset_name: str | None = None)
| 35 | |
| 36 | |
| 37 | def _tool_use(name: str, id: str, input: dict[str, Any], *, toolset_name: str | None = None) -> dict[str, Any]: |
| 38 | block: dict[str, Any] = {"type": "tool_use", "id": id, "name": name, "input": input} |
| 39 | if toolset_name is not None: |
| 40 | block["toolset_name"] = toolset_name |
| 41 | return block |
| 42 | |
| 43 | |
| 44 | def _response(*blocks: dict[str, Any]) -> httpx2.Response: |
no outgoing calls
no test coverage detected