Async Tool Calling Design

FortgeschrittendevelopmentMindestens 64K Kontext
Quelle anzeigen

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.

Anwendungsfälle

  • 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

Beispiel-Prompt

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.

Empfohlene Modelle

Kompatible Werkzeuge

claude-codecursorkiroany

Modalitäten

Eingabe: text, code
→
Ausgabe: text, code

Ähnliche Skills

Autor

OpenModels Community

@openmodelsrun

Herausgeber

Verifizierte Quelle

OpenModels Community

Aus der verlinkten Quelle adaptiert

Kanonische Quelle ↗