Skip to content

Unable to override 5 s MCP tool timeout with documented env-vars on v0.1.0 #1026

Closed
@JoshuaKening

Description

@JoshuaKening

I have an @mcp.tool() that has to call an internal HTTP service which usually takes 15-20 s. The default 5 s watchdog in openai-agents kills the call:
agents.exceptions.AgentsException:
Error invoking MCP tool concept_decomposition:
Timed out while waiting for response to ClientRequest. Waited 5.0 seconds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions