Interface: StatefulMcpServerOptions
openaiAgentsWorkflow.StatefulMcpServerOptions
Properties
cacheToolsList
• Optional cacheToolsList: boolean
When true (the default), the agent SDK caches listTools for the
agent's lifetime. Set to false if the server's tool set may change
mid-run.
config
• Optional config: Object
Activity options for tool operation Activities on the dedicated Worker.
Type declaration
| Name | Type |
|---|---|
heartbeatTimeout? | Duration |
retryPolicy? | RetryPolicy |
scheduleToStartTimeout? | Duration |
startToCloseTimeout? | Duration |
taskQueue? | string |
factoryArgument
• Optional factoryArgument: unknown
serverSessionConfig
• Optional serverSessionConfig: Object
Activity options for the long-running server-session Activity.
Type declaration
| Name | Type |
|---|---|
heartbeatTimeout? | Duration |
startToCloseTimeout? | Duration |