(tool_use_id: str, content: str = "Sunny in San Francisco")
| 194 | |
| 195 | |
| 196 | def tool_result(tool_use_id: str, content: str = "Sunny in San Francisco") -> BetaMessageParam: |
| 197 | return {"role": "user", "content": [{"type": "tool_result", "tool_use_id": tool_use_id, "content": content}]} |
| 198 | |
| 199 | |
| 200 | def tool_addition(definition: BetaToolUnionParam) -> BetaMessageParam: |
no outgoing calls