Async Tool Calling Design
ПродвинутыйdevelopmentМинимальный контекст: 64K
Designs agent workflows that let a model continue useful reasoning while external tools run asynchronously. Covers tool contracts, pending-call state, idempotency, timeout handling, wait-tool patterns, result reconciliation, and user-visible progress for long-running business or engineering tasks.
Варианты использования
- Designing async function-calling loops for slow external APIs
- Coordinating parallel retrieval, browser, code, and database tools
- Adding idempotency and timeout recovery to long-running agent tasks
- Building wait-tool patterns that keep users informed without busy polling
Пример промпта
Design async tool calling for this agent workflow. Context: [tools, expected runtimes, state store, retry policy] Return: 1. Tool schema changes for async execution. 2. Pending-call state model. 3. Timeout, retry, and cancellation behavior. 4. Result reconciliation rules. 5. User-facing progress events. 6. Tests for duplicate delivery and stale results.
Рекомендуемые модели
Совместимые инструменты
claude-codecursorkiroany
Модальности
Вход: text, code
→Выход: text, code
Похожие Skills
Автор
OpenModels Community
Издатель
Проверенный источникOpenModels Community
Адаптировано по указанному источнику