Look up which tools allow task augmentation.
(toolName: string)
| 278 | |
| 279 | /** Look up which tools allow task augmentation. */ |
| 280 | function toolSupportsTask(toolName: string): boolean { |
| 281 | const tool = TOOLS.find(t => t.name === toolName); |
| 282 | const support = tool?.execution?.taskSupport as string | undefined; |
| 283 | return support === 'optional' || support === 'required'; |
| 284 | } |
| 285 | |
| 286 | /** |
| 287 | * Extract an account-scoping string for the idempotency cache from the |