( block: BetaContentBlockParam, )
| 944 | } |
| 945 | |
| 946 | function isToolResult( |
| 947 | block: BetaContentBlockParam, |
| 948 | ): block is BetaToolResultBlockParam { |
| 949 | return block.type === 'tool_result' |
| 950 | } |
| 951 | |
| 952 | /** |
| 953 | * Ensures messages contain at most `limit` media items (images + documents). |
no outgoing calls
no test coverage detected