Astra’s described async tool flow raises a useful design question: can the model do something independent while an external job runs, and can your application recover that job without submitting it twice? Those are separate requirements. Enabling the first does not solve the second.
Mia Maren’s September 9 GPT-6 Astra API guide, in “How to Use Async Tool Calling,” describes async: true in the tool definition as letting Astra continue independent work while a long-running function or custom tool is pending. It says to retain the original call_id and return the result when the external work finishes. The same section leaves the job queue, timeout policy, idempotency, and recovery with the application.
This is an interpretation of that guide for gpt-6-astra, not a tested integration or independently verified provider specification. In particular, the guide’s OpenAI-compatible Responses route description does not establish async-tool support on any particular gateway route.
Decide whether async is worth enabling
My recommendation is to consider the described Astra flow when a slow tool leaves useful work that does not depend on its result. For example, an agent might prepare a report outline while an external analysis job runs, but it must not fill in conclusions that require the unfinished analysis. This is a hypothetical workflow, not a measured Astra result.
Use three prerequisites:
- Actual route support: verify that the selected API route accepts the async tool definition and supports the pending-call/result flow. A successful ordinary Responses request is not sufficient evidence.
- Independent work: identify what may proceed and what must wait for the result. If everything depends on that result, conventional tool-result coordination is the simpler starting point.
- Recoverable external execution: define how the application will find an already-submitted job after a timeout or restart. Do this before permitting side-effecting submissions.
The decision is whether to adopt Astra’s described scheduling option—not whether a model can replace your job runner. The recovery controls below are application engineering recommendations, not Astra persistence guarantees.
Keep the call identity and the job identity together
The model’s original call_id correlates the eventual tool result with its request. The external job ID identifies work in the tool service. Neither should be treated as a substitute for the other.
A proposed durable application record would retain:
| Information | Recovery purpose |
|---|---|
| Logical operation identity and validated arguments or their safe reference | Distinguish resuming an operation from intentionally requesting new work; support the external service’s idempotency mechanism where available |
Original call_id |
Return the result to the initiating model call |
| External job ID, once acknowledged | Retrieve the existing job instead of submitting another |
| Submission and retrieval state | Distinguish pending work, known completion, and uncertain acceptance |
| Polling deadline and recovery policy | End a waiting window without assuming the job ended |
| Required conversation items and result-delivery state | Reconstruct continuation and detect a potentially repeated result delivery |
These are conceptual application fields, not an API schema. The guide’s function-calling section shows function_call_output using the original call_id. Its stateful-conversation section recommends retaining the inputs and model output items required by the next turn; stored-response continuation through previous_response_id is explicitly conditional on provider support. Neither establishes durable storage of your external job mapping.
A polling timeout is not permission to submit again
The guide is explicit: save the job ID and resume retrieval rather than submitting the same long-running job again merely because a polling window expired.
A practical recovery policy derived from that advice is:
- Record the logical operation before attempting submission, with an idempotency strategy appropriate to the external service.
- Once submission is acknowledged, persist its job ID against the original call ID.
- If polling times out, retain the mapping and mark retrieval for later continuation. Do not interpret the polling deadline as job failure or cancellation.
- After an application restart, recover the record and retrieve the same external job. When its result is available, return it with the original call ID and the necessary conversation context.
- If submission may have succeeded but no job ID was saved, treat acceptance as unknown. Use the service’s supported lookup or idempotency mechanism to reconcile it. If that cannot establish an outcome, stop for resolution rather than guessing that resubmission is safe.
The last case is the awkward one: a durable table alone cannot close the gap between external acceptance and local recording. The source does not document a transaction across those systems, exactly-once execution, cancellation semantics, or a recovery endpoint. Do not promise those properties on the strength of async: true.
Test the boundary before enabling it
For this Astra integration, I would require acceptance checks that demonstrate independent work can continue on the actual route, a polling timeout preserves the existing job identity, and a restart retrieves that job rather than creating a replacement. Include a lost submission acknowledgement: the expected application outcome should be reconciliation or an explicit stop, not an unconditional retry. Also check that the recovered result remains correlated with the initiating call.
These are proposed tests, not reported results. Until route support and recovery behavior are established, keep the async path disabled. The useful boundary is simple: Astra may continue independent work as described by the guide; your application must still know which external work already exists.