published on Monday, Nov 23, 2026 by Pulumi Labs
published on Monday, Nov 23, 2026 by Pulumi Labs
A reusable OpenAI agent: a model together with its instructions, tools and settings.
This resource uses the beta Agents API.
Create Agent Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Agent(name: string, args: AgentArgs, opts?: CustomResourceOptions);@overload
def Agent(resource_name: str,
args: AgentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Agent(resource_name: str,
opts: Optional[ResourceOptions] = None,
model: Optional[str] = None,
compaction: Optional[AgentCompactionArgs] = None,
experimental: Optional[AgentExperimentalArgs] = None,
instructions: Optional[str] = None,
metadata: Optional[Mapping[str, str]] = None,
multi_agent: Optional[AgentMultiAgentArgs] = None,
name: Optional[str] = None,
reasoning: Optional[AgentReasoningArgs] = None,
service_tier: Optional[ServiceTier] = None,
text: Optional[AgentTextArgs] = None,
tools: Optional[Sequence[AgentToolArgs]] = None)func NewAgent(ctx *Context, name string, args AgentArgs, opts ...ResourceOption) (*Agent, error)public Agent(string name, AgentArgs args, CustomResourceOptions? opts = null)type: openai:Agent
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "openai_agent" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args AgentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AgentArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AgentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AgentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AgentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var agentResource = new Openai.Agent("agentResource", new()
{
Model = "string",
Compaction = new Openai.Inputs.AgentCompactionArgs
{
Async = false,
},
Experimental = new Openai.Inputs.AgentExperimentalArgs
{
TimeAwareness = false,
},
Instructions = "string",
Metadata =
{
{ "string", "string" },
},
MultiAgent = new Openai.Inputs.AgentMultiAgentArgs
{
Enabled = false,
MaxConcurrentSubagents = 0,
},
Name = "string",
Reasoning = new Openai.Inputs.AgentReasoningArgs
{
Effort = Openai.ReasoningEffort.None,
Summary = Openai.ReasoningSummary.Concise,
},
ServiceTier = Openai.ServiceTier.Auto,
Text = new Openai.Inputs.AgentTextArgs
{
Format = new Openai.Inputs.AgentTextFormatArgs
{
Type = Openai.TextFormatType.Text,
Schema =
{
{ "string", "any" },
},
},
Verbosity = Openai.TextVerbosity.Low,
},
Tools = new[]
{
new Openai.Inputs.AgentToolArgs
{
Type = Openai.ToolType.Function,
Enabled = false,
Mode = Openai.WebSearchMode.Disabled,
ConnectionOrigin = Openai.ConnectionOrigin.Service,
ContextSize = Openai.WebSearchContextSize.Low,
CredentialId = "string",
DeferLoading = false,
Description = "string",
AllowedDomains = new[]
{
"string",
},
Async = false,
IncludeScreenshots = false,
Location = new Openai.Inputs.AgentWebSearchLocationArgs
{
City = "string",
Country = "string",
Region = "string",
Timezone = "string",
},
Name = "string",
Parameters =
{
{ "string", "any" },
},
RequestMetadata =
{
{ "string", "any" },
},
Required = false,
ServerLabel = "string",
Transport = new Openai.Inputs.AgentMcpTransportArgs
{
Type = Openai.McpTransportType.Http,
Args = new[]
{
"string",
},
Command = "string",
Cwd = "string",
EnvVars = new[]
{
"string",
},
Headers =
{
{ "string", "string" },
},
ServerUrl = "string",
},
AllowedTools = new[]
{
"string",
},
},
},
});
example, err := openai.NewAgent(ctx, "agentResource", &openai.AgentArgs{
Model: pulumi.String("string"),
Compaction: &pulumiopenai.AgentCompactionArgs{
Async: pulumi.Bool(false),
},
Experimental: &pulumiopenai.AgentExperimentalArgs{
TimeAwareness: pulumi.Bool(false),
},
Instructions: pulumi.String("string"),
Metadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
MultiAgent: &pulumiopenai.AgentMultiAgentArgs{
Enabled: pulumi.Bool(false),
MaxConcurrentSubagents: pulumi.Int(0),
},
Name: pulumi.String("string"),
Reasoning: &pulumiopenai.AgentReasoningArgs{
Effort: openai.ReasoningEffortNone,
Summary: openai.ReasoningSummaryConcise,
},
ServiceTier: openai.ServiceTierAuto,
Text: &pulumiopenai.AgentTextArgs{
Format: &pulumiopenai.AgentTextFormatArgs{
Type: openai.TextFormatTypeText,
Schema: pulumi.Map{
"string": pulumi.Any("any"),
},
},
Verbosity: openai.TextVerbosityLow,
},
Tools: pulumiopenai.AgentToolArray{
&pulumiopenai.AgentToolArgs{
Type: openai.ToolTypeFunction,
Enabled: pulumi.Bool(false),
Mode: openai.WebSearchModeDisabled,
ConnectionOrigin: openai.ConnectionOriginService,
ContextSize: openai.WebSearchContextSizeLow,
CredentialId: pulumi.String("string"),
DeferLoading: pulumi.Bool(false),
Description: pulumi.String("string"),
AllowedDomains: pulumi.StringArray{
pulumi.String("string"),
},
Async: pulumi.Bool(false),
IncludeScreenshots: pulumi.Bool(false),
Location: &pulumiopenai.AgentWebSearchLocationArgs{
City: pulumi.String("string"),
Country: pulumi.String("string"),
Region: pulumi.String("string"),
Timezone: pulumi.String("string"),
},
Name: pulumi.String("string"),
Parameters: pulumi.Map{
"string": pulumi.Any("any"),
},
RequestMetadata: pulumi.Map{
"string": pulumi.Any("any"),
},
Required: pulumi.Bool(false),
ServerLabel: pulumi.String("string"),
Transport: &pulumiopenai.AgentMcpTransportArgs{
Type: openai.McpTransportTypeHttp,
Args: pulumi.StringArray{
pulumi.String("string"),
},
Command: pulumi.String("string"),
Cwd: pulumi.String("string"),
EnvVars: pulumi.StringArray{
pulumi.String("string"),
},
Headers: pulumi.StringMap{
"string": pulumi.String("string"),
},
ServerUrl: pulumi.String("string"),
},
AllowedTools: pulumi.StringArray{
pulumi.String("string"),
},
},
},
})
resource "openai_agent" "agentResource" {
lifecycle {
create_before_destroy = true
}
model = "string"
compaction = {
async = false
}
experimental = {
time_awareness = false
}
instructions = "string"
metadata = {
"string" = "string"
}
multi_agent = {
enabled = false
max_concurrent_subagents = 0
}
name = "string"
reasoning = {
effort = "none"
summary = "concise"
}
service_tier = "auto"
text = {
format = {
type = "text"
schema = {
"string" = "any"
}
}
verbosity = "low"
}
tools {
type = "function"
enabled = false
mode = "disabled"
connection_origin = "service"
context_size = "low"
credential_id = "string"
defer_loading = false
description = "string"
allowed_domains = ["string"]
async = false
include_screenshots = false
location = {
city = "string"
country = "string"
region = "string"
timezone = "string"
}
name = "string"
parameters = {
"string" = "any"
}
request_metadata = {
"string" = "any"
}
required = false
server_label = "string"
transport = {
type = "http"
args = ["string"]
command = "string"
cwd = "string"
env_vars = ["string"]
headers = {
"string" = "string"
}
server_url = "string"
}
allowed_tools = ["string"]
}
}
var agentResource = new Agent("agentResource", AgentArgs.builder()
.model("string")
.compaction(AgentCompactionArgs.builder()
.async(false)
.build())
.experimental(AgentExperimentalArgs.builder()
.timeAwareness(false)
.build())
.instructions("string")
.metadata(Map.of("string", "string"))
.multiAgent(AgentMultiAgentArgs.builder()
.enabled(false)
.maxConcurrentSubagents(0)
.build())
.name("string")
.reasoning(AgentReasoningArgs.builder()
.effort(com.pulumi.openai.enums.ReasoningEffort.None)
.summary(com.pulumi.openai.enums.ReasoningSummary.Concise)
.build())
.serviceTier(com.pulumi.openai.enums.ServiceTier.Auto)
.text(AgentTextArgs.builder()
.format(AgentTextFormatArgs.builder()
.type(com.pulumi.openai.enums.TextFormatType.Text)
.schema(Map.of("string", "any"))
.build())
.verbosity(com.pulumi.openai.enums.TextVerbosity.Low)
.build())
.tools(AgentToolArgs.builder()
.type(com.pulumi.openai.enums.ToolType.Function)
.enabled(false)
.mode(com.pulumi.openai.enums.WebSearchMode.Disabled)
.connectionOrigin(com.pulumi.openai.enums.ConnectionOrigin.Service)
.contextSize(com.pulumi.openai.enums.WebSearchContextSize.Low)
.credentialId("string")
.deferLoading(false)
.description("string")
.allowedDomains("string")
.async(false)
.includeScreenshots(false)
.location(AgentWebSearchLocationArgs.builder()
.city("string")
.country("string")
.region("string")
.timezone("string")
.build())
.name("string")
.parameters(Map.of("string", "any"))
.requestMetadata(Map.of("string", "any"))
.required(false)
.serverLabel("string")
.transport(AgentMcpTransportArgs.builder()
.type(com.pulumi.openai.enums.McpTransportType.Http)
.args("string")
.command("string")
.cwd("string")
.envVars("string")
.headers(Map.of("string", "string"))
.serverUrl("string")
.build())
.allowedTools("string")
.build())
.build());
agent_resource = openai.Agent("agentResource",
model="string",
compaction={
"async_": False,
},
experimental={
"time_awareness": False,
},
instructions="string",
metadata={
"string": "string",
},
multi_agent={
"enabled": False,
"max_concurrent_subagents": 0,
},
name="string",
reasoning={
"effort": openai.ReasoningEffort.NONE,
"summary": openai.ReasoningSummary.CONCISE,
},
service_tier=openai.ServiceTier.AUTO,
text={
"format": {
"type": openai.TextFormatType.TEXT,
"schema": {
"string": "any",
},
},
"verbosity": openai.TextVerbosity.LOW,
},
tools=[{
"type": openai.ToolType.FUNCTION,
"enabled": False,
"mode": openai.WebSearchMode.DISABLED,
"connection_origin": openai.ConnectionOrigin.SERVICE,
"context_size": openai.WebSearchContextSize.LOW,
"credential_id": "string",
"defer_loading": False,
"description": "string",
"allowed_domains": ["string"],
"async_": False,
"include_screenshots": False,
"location": {
"city": "string",
"country": "string",
"region": "string",
"timezone": "string",
},
"name": "string",
"parameters": {
"string": "any",
},
"request_metadata": {
"string": "any",
},
"required": False,
"server_label": "string",
"transport": {
"type": openai.McpTransportType.HTTP,
"args": ["string"],
"command": "string",
"cwd": "string",
"env_vars": ["string"],
"headers": {
"string": "string",
},
"server_url": "string",
},
"allowed_tools": ["string"],
}])
const agentResource = new openai.Agent("agentResource", {
model: "string",
compaction: {
async: false,
},
experimental: {
timeAwareness: false,
},
instructions: "string",
metadata: {
string: "string",
},
multiAgent: {
enabled: false,
maxConcurrentSubagents: 0,
},
name: "string",
reasoning: {
effort: openai.ReasoningEffort.None,
summary: openai.ReasoningSummary.Concise,
},
serviceTier: openai.ServiceTier.Auto,
text: {
format: {
type: openai.TextFormatType.Text,
schema: {
string: "any",
},
},
verbosity: openai.TextVerbosity.Low,
},
tools: [{
type: openai.ToolType.Function,
enabled: false,
mode: openai.WebSearchMode.Disabled,
connectionOrigin: openai.ConnectionOrigin.Service,
contextSize: openai.WebSearchContextSize.Low,
credentialId: "string",
deferLoading: false,
description: "string",
allowedDomains: ["string"],
async: false,
includeScreenshots: false,
location: {
city: "string",
country: "string",
region: "string",
timezone: "string",
},
name: "string",
parameters: {
string: "any",
},
requestMetadata: {
string: "any",
},
required: false,
serverLabel: "string",
transport: {
type: openai.McpTransportType.Http,
args: ["string"],
command: "string",
cwd: "string",
envVars: ["string"],
headers: {
string: "string",
},
serverUrl: "string",
},
allowedTools: ["string"],
}],
});
type: openai:Agent
properties:
compaction:
async: false
experimental:
timeAwareness: false
instructions: string
metadata:
string: string
model: string
multiAgent:
enabled: false
maxConcurrentSubagents: 0
name: string
reasoning:
effort: none
summary: concise
serviceTier: auto
text:
format:
schema:
string: any
type: text
verbosity: low
tools:
- allowedDomains:
- string
allowedTools:
- string
async: false
connectionOrigin: service
contextSize: low
credentialId: string
deferLoading: false
description: string
enabled: false
includeScreenshots: false
location:
city: string
country: string
region: string
timezone: string
mode: disabled
name: string
parameters:
string: any
requestMetadata:
string: any
required: false
serverLabel: string
transport:
args:
- string
command: string
cwd: string
envVars:
- string
headers:
string: string
serverUrl: string
type: http
type: function
Agent Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Agent resource accepts the following input properties:
- Model string
- The model the agent uses for inference.
- Compaction
Pulumi.
Labs. Openai. Inputs. Agent Compaction - Controls how the agent's context is compacted.
- Experimental
Pulumi.
Labs. Openai. Inputs. Agent Experimental - Experimental settings, which may change without notice.
- Instructions string
- Custom instructions, appended to the default base instructions.
- Metadata Dictionary<string, string>
- Up to 16 custom key-value pairs. Keys can be up to 64 characters and values up to 512 characters.
- Multi
Agent Pulumi.Labs. Openai. Inputs. Agent Multi Agent - Controls whether the agent can delegate work to subagents.
- Name string
- A human-readable name for the agent, up to 128 characters.
- Reasoning
Pulumi.
Labs. Openai. Inputs. Agent Reasoning - Reasoning configuration. When unset, the model's defaults apply.
- Service
Tier Pulumi.Labs. Openai. Service Tier - The service tier used to run the agent. Defaults to
auto. - Text
Pulumi.
Labs. Openai. Inputs. Agent Text - Configuration of the agent's text output.
- Tools
List<Pulumi.
Labs. Openai. Inputs. Agent Tool> - The tools available to the agent, up to 2000.
- Model string
- The model the agent uses for inference.
- Compaction
Agent
Compaction Args - Controls how the agent's context is compacted.
- Experimental
Agent
Experimental Args - Experimental settings, which may change without notice.
- Instructions string
- Custom instructions, appended to the default base instructions.
- Metadata map[string]string
- Up to 16 custom key-value pairs. Keys can be up to 64 characters and values up to 512 characters.
- Multi
Agent AgentMulti Agent Args - Controls whether the agent can delegate work to subagents.
- Name string
- A human-readable name for the agent, up to 128 characters.
- Reasoning
Agent
Reasoning Args - Reasoning configuration. When unset, the model's defaults apply.
- Service
Tier ServiceTier - The service tier used to run the agent. Defaults to
auto. - Text
Agent
Text Args - Configuration of the agent's text output.
- Tools
[]Agent
Tool Args - The tools available to the agent, up to 2000.
- model string
- The model the agent uses for inference.
- compaction object
- Controls how the agent's context is compacted.
- experimental object
- Experimental settings, which may change without notice.
- instructions string
- Custom instructions, appended to the default base instructions.
- metadata map(string)
- Up to 16 custom key-value pairs. Keys can be up to 64 characters and values up to 512 characters.
- multi_
agent object - Controls whether the agent can delegate work to subagents.
- name string
- A human-readable name for the agent, up to 128 characters.
- reasoning object
- Reasoning configuration. When unset, the model's defaults apply.
- service_
tier "auto" | "default" | "flex" | "priority" | "fast" | "ultrafast" - The service tier used to run the agent. Defaults to
auto. - text object
- Configuration of the agent's text output.
- tools list(object)
- The tools available to the agent, up to 2000.
- model String
- The model the agent uses for inference.
- compaction
Agent
Compaction - Controls how the agent's context is compacted.
- experimental
Agent
Experimental - Experimental settings, which may change without notice.
- instructions String
- Custom instructions, appended to the default base instructions.
- metadata Map<String,String>
- Up to 16 custom key-value pairs. Keys can be up to 64 characters and values up to 512 characters.
- multi
Agent AgentMulti Agent - Controls whether the agent can delegate work to subagents.
- name String
- A human-readable name for the agent, up to 128 characters.
- reasoning
Agent
Reasoning - Reasoning configuration. When unset, the model's defaults apply.
- service
Tier ServiceTier - The service tier used to run the agent. Defaults to
auto. - text
Agent
Text - Configuration of the agent's text output.
- tools
List<Agent
Tool> - The tools available to the agent, up to 2000.
- model string
- The model the agent uses for inference.
- compaction
Agent
Compaction - Controls how the agent's context is compacted.
- experimental
Agent
Experimental - Experimental settings, which may change without notice.
- instructions string
- Custom instructions, appended to the default base instructions.
- metadata {[key: string]: string}
- Up to 16 custom key-value pairs. Keys can be up to 64 characters and values up to 512 characters.
- multi
Agent AgentMulti Agent - Controls whether the agent can delegate work to subagents.
- name string
- A human-readable name for the agent, up to 128 characters.
- reasoning
Agent
Reasoning - Reasoning configuration. When unset, the model's defaults apply.
- service
Tier ServiceTier - The service tier used to run the agent. Defaults to
auto. - text
Agent
Text - Configuration of the agent's text output.
- tools
Agent
Tool[] - The tools available to the agent, up to 2000.
- model str
- The model the agent uses for inference.
- compaction
Agent
Compaction Args - Controls how the agent's context is compacted.
- experimental
Agent
Experimental Args - Experimental settings, which may change without notice.
- instructions str
- Custom instructions, appended to the default base instructions.
- metadata Mapping[str, str]
- Up to 16 custom key-value pairs. Keys can be up to 64 characters and values up to 512 characters.
- multi_
agent AgentMulti Agent Args - Controls whether the agent can delegate work to subagents.
- name str
- A human-readable name for the agent, up to 128 characters.
- reasoning
Agent
Reasoning Args - Reasoning configuration. When unset, the model's defaults apply.
- service_
tier ServiceTier - The service tier used to run the agent. Defaults to
auto. - text
Agent
Text Args - Configuration of the agent's text output.
- tools
Sequence[Agent
Tool Args] - The tools available to the agent, up to 2000.
- model String
- The model the agent uses for inference.
- compaction Property Map
- Controls how the agent's context is compacted.
- experimental Property Map
- Experimental settings, which may change without notice.
- instructions String
- Custom instructions, appended to the default base instructions.
- metadata Map<String>
- Up to 16 custom key-value pairs. Keys can be up to 64 characters and values up to 512 characters.
- multi
Agent Property Map - Controls whether the agent can delegate work to subagents.
- name String
- A human-readable name for the agent, up to 128 characters.
- reasoning Property Map
- Reasoning configuration. When unset, the model's defaults apply.
- service
Tier "auto" | "default" | "flex" | "priority" | "fast" | "ultrafast" - The service tier used to run the agent. Defaults to
auto. - text Property Map
- Configuration of the agent's text output.
- tools List<Property Map>
- The tools available to the agent, up to 2000.
Outputs
All input properties are implicitly available as output properties. Additionally, the Agent resource produces the following output properties:
- created_
at number - When the agent was created, as a Unix timestamp in seconds.
- id string
- The provider-assigned unique ID for this managed resource.
- updated_
at number - When the agent was last updated, as a Unix timestamp in seconds.
- created_
at int - When the agent was created, as a Unix timestamp in seconds.
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
at int - When the agent was last updated, as a Unix timestamp in seconds.
Look up Existing Agent Resource
Get an existing Agent resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, opts?: CustomResourceOptions): Agent@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> Agentfunc GetAgent(ctx *Context, name string, id IDInput, state *AgentState, opts ...ResourceOption) (*Agent, error)public static Agent Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static Agent get(String name, Output<String> id, CustomResourceOptions options)resources: existingAgent: type: openai:Agent get: id: ${id}import {
to = openai_agent.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state AgentState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
AgentCompaction, AgentCompactionArgs
- Async bool
- Whether compaction runs in the background. Defaults to true; set to false for blocking compaction.
- Async bool
- Whether compaction runs in the background. Defaults to true; set to false for blocking compaction.
- async bool
- Whether compaction runs in the background. Defaults to true; set to false for blocking compaction.
- async Boolean
- Whether compaction runs in the background. Defaults to true; set to false for blocking compaction.
- async boolean
- Whether compaction runs in the background. Defaults to true; set to false for blocking compaction.
- async_ bool
- Whether compaction runs in the background. Defaults to true; set to false for blocking compaction.
- async Boolean
- Whether compaction runs in the background. Defaults to true; set to false for blocking compaction.
AgentExperimental, AgentExperimentalArgs
- Time
Awareness bool - Whether the model receives periodic reminders of the current time. Defaults to false.
- Time
Awareness bool - Whether the model receives periodic reminders of the current time. Defaults to false.
- time_
awareness bool - Whether the model receives periodic reminders of the current time. Defaults to false.
- time
Awareness Boolean - Whether the model receives periodic reminders of the current time. Defaults to false.
- time
Awareness boolean - Whether the model receives periodic reminders of the current time. Defaults to false.
- time_
awareness bool - Whether the model receives periodic reminders of the current time. Defaults to false.
- time
Awareness Boolean - Whether the model receives periodic reminders of the current time. Defaults to false.
AgentMcpTransport, AgentMcpTransportArgs
- Type
Pulumi.
Labs. Openai. Mcp Transport Type - The transport type:
httporstdio. - Args List<string>
stdiotransport: arguments passed to the command.- Command string
stdiotransport: the command that starts the MCP server. Required.- Cwd string
stdiotransport: the working directory the command runs in. Required.- Env
Vars List<string> stdiotransport: names of environment variables the command inherits from the execution environment.- Headers Dictionary<string, string>
httptransport: non-secret headers sent with each request to the server.- Server
Url string httptransport: the URL of the MCP server. Required.
- Type
Mcp
Transport Type - The transport type:
httporstdio. - Args []string
stdiotransport: arguments passed to the command.- Command string
stdiotransport: the command that starts the MCP server. Required.- Cwd string
stdiotransport: the working directory the command runs in. Required.- Env
Vars []string stdiotransport: names of environment variables the command inherits from the execution environment.- Headers map[string]string
httptransport: non-secret headers sent with each request to the server.- Server
Url string httptransport: the URL of the MCP server. Required.
- type "http" | "stdio"
- The transport type:
httporstdio. - args list(string)
stdiotransport: arguments passed to the command.- command string
stdiotransport: the command that starts the MCP server. Required.- cwd string
stdiotransport: the working directory the command runs in. Required.- env_
vars list(string) stdiotransport: names of environment variables the command inherits from the execution environment.- headers map(string)
httptransport: non-secret headers sent with each request to the server.- server_
url string httptransport: the URL of the MCP server. Required.
- type
Mcp
Transport Type - The transport type:
httporstdio. - args List<String>
stdiotransport: arguments passed to the command.- command String
stdiotransport: the command that starts the MCP server. Required.- cwd String
stdiotransport: the working directory the command runs in. Required.- env
Vars List<String> stdiotransport: names of environment variables the command inherits from the execution environment.- headers Map<String,String>
httptransport: non-secret headers sent with each request to the server.- server
Url String httptransport: the URL of the MCP server. Required.
- type
Mcp
Transport Type - The transport type:
httporstdio. - args string[]
stdiotransport: arguments passed to the command.- command string
stdiotransport: the command that starts the MCP server. Required.- cwd string
stdiotransport: the working directory the command runs in. Required.- env
Vars string[] stdiotransport: names of environment variables the command inherits from the execution environment.- headers {[key: string]: string}
httptransport: non-secret headers sent with each request to the server.- server
Url string httptransport: the URL of the MCP server. Required.
- type
Mcp
Transport Type - The transport type:
httporstdio. - args Sequence[str]
stdiotransport: arguments passed to the command.- command str
stdiotransport: the command that starts the MCP server. Required.- cwd str
stdiotransport: the working directory the command runs in. Required.- env_
vars Sequence[str] stdiotransport: names of environment variables the command inherits from the execution environment.- headers Mapping[str, str]
httptransport: non-secret headers sent with each request to the server.- server_
url str httptransport: the URL of the MCP server. Required.
- type "http" | "stdio"
- The transport type:
httporstdio. - args List<String>
stdiotransport: arguments passed to the command.- command String
stdiotransport: the command that starts the MCP server. Required.- cwd String
stdiotransport: the working directory the command runs in. Required.- env
Vars List<String> stdiotransport: names of environment variables the command inherits from the execution environment.- headers Map<String>
httptransport: non-secret headers sent with each request to the server.- server
Url String httptransport: the URL of the MCP server. Required.
AgentMultiAgent, AgentMultiAgentArgs
- Enabled bool
- Whether subagent tools are enabled.
- Max
Concurrent intSubagents - The maximum number of subagents that run at once. Defaults to 6.
- Enabled bool
- Whether subagent tools are enabled.
- Max
Concurrent intSubagents - The maximum number of subagents that run at once. Defaults to 6.
- enabled bool
- Whether subagent tools are enabled.
- max_
concurrent_ numbersubagents - The maximum number of subagents that run at once. Defaults to 6.
- enabled Boolean
- Whether subagent tools are enabled.
- max
Concurrent IntegerSubagents - The maximum number of subagents that run at once. Defaults to 6.
- enabled boolean
- Whether subagent tools are enabled.
- max
Concurrent numberSubagents - The maximum number of subagents that run at once. Defaults to 6.
- enabled bool
- Whether subagent tools are enabled.
- max_
concurrent_ intsubagents - The maximum number of subagents that run at once. Defaults to 6.
- enabled Boolean
- Whether subagent tools are enabled.
- max
Concurrent NumberSubagents - The maximum number of subagents that run at once. Defaults to 6.
AgentReasoning, AgentReasoningArgs
- Effort
Pulumi.
Labs. Openai. Reasoning Effort - How much reasoning effort the model spends. When unset, the model chooses its default.
- Summary
Pulumi.
Labs. Openai. Reasoning Summary - The kind of reasoning summary to produce. When unset, summaries are disabled.
- Effort
Reasoning
Effort - How much reasoning effort the model spends. When unset, the model chooses its default.
- Summary
Reasoning
Summary - The kind of reasoning summary to produce. When unset, summaries are disabled.
- effort "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max"
- How much reasoning effort the model spends. When unset, the model chooses its default.
- summary "concise" | "detailed" | "auto"
- The kind of reasoning summary to produce. When unset, summaries are disabled.
- effort
Reasoning
Effort - How much reasoning effort the model spends. When unset, the model chooses its default.
- summary
Reasoning
Summary - The kind of reasoning summary to produce. When unset, summaries are disabled.
- effort
Reasoning
Effort - How much reasoning effort the model spends. When unset, the model chooses its default.
- summary
Reasoning
Summary - The kind of reasoning summary to produce. When unset, summaries are disabled.
- effort
Reasoning
Effort - How much reasoning effort the model spends. When unset, the model chooses its default.
- summary
Reasoning
Summary - The kind of reasoning summary to produce. When unset, summaries are disabled.
- effort "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max"
- How much reasoning effort the model spends. When unset, the model chooses its default.
- summary "concise" | "detailed" | "auto"
- The kind of reasoning summary to produce. When unset, summaries are disabled.
AgentText, AgentTextArgs
- Format
Pulumi.
Labs. Openai. Inputs. Agent Text Format - The output format. Defaults to plain text.
- Verbosity
Pulumi.
Labs. Openai. Text Verbosity - How verbose the agent's responses are. Defaults to
medium.
- Format
Agent
Text Format - The output format. Defaults to plain text.
- Verbosity
Text
Verbosity - How verbose the agent's responses are. Defaults to
medium.
- format object
- The output format. Defaults to plain text.
- verbosity "low" | "medium" | "high"
- How verbose the agent's responses are. Defaults to
medium.
- format
Agent
Text Format - The output format. Defaults to plain text.
- verbosity
Text
Verbosity - How verbose the agent's responses are. Defaults to
medium.
- format
Agent
Text Format - The output format. Defaults to plain text.
- verbosity
Text
Verbosity - How verbose the agent's responses are. Defaults to
medium.
- format
Agent
Text Format - The output format. Defaults to plain text.
- verbosity
Text
Verbosity - How verbose the agent's responses are. Defaults to
medium.
- format Property Map
- The output format. Defaults to plain text.
- verbosity "low" | "medium" | "high"
- How verbose the agent's responses are. Defaults to
medium.
AgentTextFormat, AgentTextFormatArgs
- Type
Pulumi.
Labs. Openai. Text Format Type - The format type:
textfor ordinary text, orjson_schemato constrain output to a JSON Schema. - Schema Dictionary<string, object>
- The JSON Schema the output must conform to. Required when
typeisjson_schema.
- Type
Text
Format Type - The format type:
textfor ordinary text, orjson_schemato constrain output to a JSON Schema. - Schema map[string]interface{}
- The JSON Schema the output must conform to. Required when
typeisjson_schema.
- type
"text" | "json_
schema" - The format type:
textfor ordinary text, orjson_schemato constrain output to a JSON Schema. - schema map(any)
- The JSON Schema the output must conform to. Required when
typeisjson_schema.
- type
Text
Format Type - The format type:
textfor ordinary text, orjson_schemato constrain output to a JSON Schema. - schema Map<String,Object>
- The JSON Schema the output must conform to. Required when
typeisjson_schema.
- type
Text
Format Type - The format type:
textfor ordinary text, orjson_schemato constrain output to a JSON Schema. - schema {[key: string]: any}
- The JSON Schema the output must conform to. Required when
typeisjson_schema.
- type
Text
Format Type - The format type:
textfor ordinary text, orjson_schemato constrain output to a JSON Schema. - schema Mapping[str, Any]
- The JSON Schema the output must conform to. Required when
typeisjson_schema.
- type
"text" | "json_
schema" - The format type:
textfor ordinary text, orjson_schemato constrain output to a JSON Schema. - schema Map<Any>
- The JSON Schema the output must conform to. Required when
typeisjson_schema.
AgentTool, AgentToolArgs
A tool available to an agent. type selects the kind of tool; each other property applies only to the tool types named in its description.
- Type
Pulumi.
Labs. Openai. Tool Type - The kind of tool.
- Allowed
Domains List<string> web_searchtools: the domains searches are restricted to.- Allowed
Tools List<string> mcptools: the names of the server's tools the agent may use. When unset, all tools are allowed.- Async bool
functiontools: whether the function is called asynchronously.- Connection
Origin Pulumi.Labs. Openai. Connection Origin mcptools: where the connection to the server is made from.- Context
Size Pulumi.Labs. Openai. Web Search Context Size web_searchtools: how much search context is given to the model.- Credential
Id string mcptools: the ID of a stored credential used to authenticate to the server.- Defer
Loading bool functiontools: whether the function is only loaded once discovered through atool_searchtool.- Description string
functiontools: a description of what the function does.- Enabled bool
programmatic_tool_callingtools: whether programmatic tool calling is enabled. Defaults to true.- Include
Screenshots bool computer_usetools: whether screenshots are included.- Location
Pulumi.
Labs. Openai. Inputs. Agent Web Search Location web_searchtools: an approximate user location used to localize results.- Mode
Pulumi.
Labs. Openai. Web Search Mode web_searchtools: whether results are fetched live, served from cache, or disabled.- Name string
functiontools: the name of the function. Required.- Parameters Dictionary<string, object>
functiontools: a JSON Schema describing the function's parameters.- Request
Metadata Dictionary<string, object> mcptools: metadata sent to the server with each request.- Required bool
mcptools: whether the agent requires the server to be available.- Server
Label string mcptools: a label identifying the MCP server. Required.- Transport
Pulumi.
Labs. Openai. Inputs. Agent Mcp Transport mcptools: how to connect to the MCP server. Required.
- Type
Tool
Type - The kind of tool.
- Allowed
Domains []string web_searchtools: the domains searches are restricted to.- Allowed
Tools []string mcptools: the names of the server's tools the agent may use. When unset, all tools are allowed.- Async bool
functiontools: whether the function is called asynchronously.- Connection
Origin ConnectionOrigin mcptools: where the connection to the server is made from.- Context
Size WebSearch Context Size web_searchtools: how much search context is given to the model.- Credential
Id string mcptools: the ID of a stored credential used to authenticate to the server.- Defer
Loading bool functiontools: whether the function is only loaded once discovered through atool_searchtool.- Description string
functiontools: a description of what the function does.- Enabled bool
programmatic_tool_callingtools: whether programmatic tool calling is enabled. Defaults to true.- Include
Screenshots bool computer_usetools: whether screenshots are included.- Location
Agent
Web Search Location web_searchtools: an approximate user location used to localize results.- Mode
Web
Search Mode web_searchtools: whether results are fetched live, served from cache, or disabled.- Name string
functiontools: the name of the function. Required.- Parameters map[string]interface{}
functiontools: a JSON Schema describing the function's parameters.- Request
Metadata map[string]interface{} mcptools: metadata sent to the server with each request.- Required bool
mcptools: whether the agent requires the server to be available.- Server
Label string mcptools: a label identifying the MCP server. Required.- Transport
Agent
Mcp Transport mcptools: how to connect to the MCP server. Required.
- type
"function" | "tool_
search" | "programmatic_ tool_ calling" | "mcp" | "web_ search" | "computer_ use" | "automations" - The kind of tool.
- allowed_
domains list(string) web_searchtools: the domains searches are restricted to.- allowed_
tools list(string) mcptools: the names of the server's tools the agent may use. When unset, all tools are allowed.- async bool
functiontools: whether the function is called asynchronously.- connection_
origin "service" | "environment" mcptools: where the connection to the server is made from.- context_
size "low" | "medium" | "high" web_searchtools: how much search context is given to the model.- credential_
id string mcptools: the ID of a stored credential used to authenticate to the server.- defer_
loading bool functiontools: whether the function is only loaded once discovered through atool_searchtool.- description string
functiontools: a description of what the function does.- enabled bool
programmatic_tool_callingtools: whether programmatic tool calling is enabled. Defaults to true.- include_
screenshots bool computer_usetools: whether screenshots are included.- location object
web_searchtools: an approximate user location used to localize results.- mode "disabled" | "cached" | "live"
web_searchtools: whether results are fetched live, served from cache, or disabled.- name string
functiontools: the name of the function. Required.- parameters map(any)
functiontools: a JSON Schema describing the function's parameters.- request_
metadata map(any) mcptools: metadata sent to the server with each request.- required bool
mcptools: whether the agent requires the server to be available.- server_
label string mcptools: a label identifying the MCP server. Required.- transport object
mcptools: how to connect to the MCP server. Required.
- type
Tool
Type - The kind of tool.
- allowed
Domains List<String> web_searchtools: the domains searches are restricted to.- allowed
Tools List<String> mcptools: the names of the server's tools the agent may use. When unset, all tools are allowed.- async Boolean
functiontools: whether the function is called asynchronously.- connection
Origin ConnectionOrigin mcptools: where the connection to the server is made from.- context
Size WebSearch Context Size web_searchtools: how much search context is given to the model.- credential
Id String mcptools: the ID of a stored credential used to authenticate to the server.- defer
Loading Boolean functiontools: whether the function is only loaded once discovered through atool_searchtool.- description String
functiontools: a description of what the function does.- enabled Boolean
programmatic_tool_callingtools: whether programmatic tool calling is enabled. Defaults to true.- include
Screenshots Boolean computer_usetools: whether screenshots are included.- location
Agent
Web Search Location web_searchtools: an approximate user location used to localize results.- mode
Web
Search Mode web_searchtools: whether results are fetched live, served from cache, or disabled.- name String
functiontools: the name of the function. Required.- parameters Map<String,Object>
functiontools: a JSON Schema describing the function's parameters.- request
Metadata Map<String,Object> mcptools: metadata sent to the server with each request.- required Boolean
mcptools: whether the agent requires the server to be available.- server
Label String mcptools: a label identifying the MCP server. Required.- transport
Agent
Mcp Transport mcptools: how to connect to the MCP server. Required.
- type
Tool
Type - The kind of tool.
- allowed
Domains string[] web_searchtools: the domains searches are restricted to.- allowed
Tools string[] mcptools: the names of the server's tools the agent may use. When unset, all tools are allowed.- async boolean
functiontools: whether the function is called asynchronously.- connection
Origin ConnectionOrigin mcptools: where the connection to the server is made from.- context
Size WebSearch Context Size web_searchtools: how much search context is given to the model.- credential
Id string mcptools: the ID of a stored credential used to authenticate to the server.- defer
Loading boolean functiontools: whether the function is only loaded once discovered through atool_searchtool.- description string
functiontools: a description of what the function does.- enabled boolean
programmatic_tool_callingtools: whether programmatic tool calling is enabled. Defaults to true.- include
Screenshots boolean computer_usetools: whether screenshots are included.- location
Agent
Web Search Location web_searchtools: an approximate user location used to localize results.- mode
Web
Search Mode web_searchtools: whether results are fetched live, served from cache, or disabled.- name string
functiontools: the name of the function. Required.- parameters {[key: string]: any}
functiontools: a JSON Schema describing the function's parameters.- request
Metadata {[key: string]: any} mcptools: metadata sent to the server with each request.- required boolean
mcptools: whether the agent requires the server to be available.- server
Label string mcptools: a label identifying the MCP server. Required.- transport
Agent
Mcp Transport mcptools: how to connect to the MCP server. Required.
- type
Tool
Type - The kind of tool.
- allowed_
domains Sequence[str] web_searchtools: the domains searches are restricted to.- allowed_
tools Sequence[str] mcptools: the names of the server's tools the agent may use. When unset, all tools are allowed.- async_ bool
functiontools: whether the function is called asynchronously.- connection_
origin ConnectionOrigin mcptools: where the connection to the server is made from.- context_
size WebSearch Context Size web_searchtools: how much search context is given to the model.- credential_
id str mcptools: the ID of a stored credential used to authenticate to the server.- defer_
loading bool functiontools: whether the function is only loaded once discovered through atool_searchtool.- description str
functiontools: a description of what the function does.- enabled bool
programmatic_tool_callingtools: whether programmatic tool calling is enabled. Defaults to true.- include_
screenshots bool computer_usetools: whether screenshots are included.- location
Agent
Web Search Location web_searchtools: an approximate user location used to localize results.- mode
Web
Search Mode web_searchtools: whether results are fetched live, served from cache, or disabled.- name str
functiontools: the name of the function. Required.- parameters Mapping[str, Any]
functiontools: a JSON Schema describing the function's parameters.- request_
metadata Mapping[str, Any] mcptools: metadata sent to the server with each request.- required bool
mcptools: whether the agent requires the server to be available.- server_
label str mcptools: a label identifying the MCP server. Required.- transport
Agent
Mcp Transport mcptools: how to connect to the MCP server. Required.
- type
"function" | "tool_
search" | "programmatic_ tool_ calling" | "mcp" | "web_ search" | "computer_ use" | "automations" - The kind of tool.
- allowed
Domains List<String> web_searchtools: the domains searches are restricted to.- allowed
Tools List<String> mcptools: the names of the server's tools the agent may use. When unset, all tools are allowed.- async Boolean
functiontools: whether the function is called asynchronously.- connection
Origin "service" | "environment" mcptools: where the connection to the server is made from.- context
Size "low" | "medium" | "high" web_searchtools: how much search context is given to the model.- credential
Id String mcptools: the ID of a stored credential used to authenticate to the server.- defer
Loading Boolean functiontools: whether the function is only loaded once discovered through atool_searchtool.- description String
functiontools: a description of what the function does.- enabled Boolean
programmatic_tool_callingtools: whether programmatic tool calling is enabled. Defaults to true.- include
Screenshots Boolean computer_usetools: whether screenshots are included.- location Property Map
web_searchtools: an approximate user location used to localize results.- mode "disabled" | "cached" | "live"
web_searchtools: whether results are fetched live, served from cache, or disabled.- name String
functiontools: the name of the function. Required.- parameters Map<Any>
functiontools: a JSON Schema describing the function's parameters.- request
Metadata Map<Any> mcptools: metadata sent to the server with each request.- required Boolean
mcptools: whether the agent requires the server to be available.- server
Label String mcptools: a label identifying the MCP server. Required.- transport Property Map
mcptools: how to connect to the MCP server. Required.
AgentWebSearchLocation, AgentWebSearchLocationArgs
ConnectionOrigin
| Name | Value |
|---|---|
| Service | service |
| Environment | environment |
| Name | Value |
|---|---|
| Connection | service |
| Connection | environment |
| Value |
|---|
service |
environment |
| Name | Value |
|---|---|
| Service | service |
| Environment | environment |
| Name | Value |
|---|---|
| Service | service |
| Environment | environment |
| Name | Value |
|---|---|
| SERVICE | service |
| ENVIRONMENT | environment |
| Value |
|---|
service |
environment |
McpTransportType
| Name | Value |
|---|---|
| Http | http |
| Stdio | stdio |
| Name | Value |
|---|---|
| Mcp | http |
| Mcp | stdio |
| Value |
|---|
http |
stdio |
| Name | Value |
|---|---|
| Http | http |
| Stdio | stdio |
| Name | Value |
|---|---|
| Http | http |
| Stdio | stdio |
| Name | Value |
|---|---|
| HTTP | http |
| STDIO | stdio |
| Value |
|---|
http |
stdio |
ReasoningEffort
| Name | Value |
|---|---|
| None | none |
| Minimal | minimal |
| Low | low |
| Medium | medium |
| High | high |
| XHigh | xhigh |
| Max | max |
| Name | Value |
|---|---|
| Reasoning | none |
| Reasoning | minimal |
| Reasoning | low |
| Reasoning | medium |
| Reasoning | high |
| Reasoning | xhigh |
| Reasoning | max |
| Value |
|---|
none |
minimal |
low |
medium |
high |
xhigh |
max |
| Name | Value |
|---|---|
| None | none |
| Minimal | minimal |
| Low | low |
| Medium | medium |
| High | high |
| XHigh | xhigh |
| Max | max |
| Name | Value |
|---|---|
| None | none |
| Minimal | minimal |
| Low | low |
| Medium | medium |
| High | high |
| XHigh | xhigh |
| Max | max |
| Name | Value |
|---|---|
| NONE | none |
| MINIMAL | minimal |
| LOW | low |
| MEDIUM | medium |
| HIGH | high |
| X_HIGH | xhigh |
| MAX | max |
| Value |
|---|
none |
minimal |
low |
medium |
high |
xhigh |
max |
ReasoningSummary
| Name | Value |
|---|---|
| Concise | concise |
| Detailed | detailed |
| Auto | auto |
| Name | Value |
|---|---|
| Reasoning | concise |
| Reasoning | detailed |
| Reasoning | auto |
| Value |
|---|
concise |
detailed |
auto |
| Name | Value |
|---|---|
| Concise | concise |
| Detailed | detailed |
| Auto | auto |
| Name | Value |
|---|---|
| Concise | concise |
| Detailed | detailed |
| Auto | auto |
| Name | Value |
|---|---|
| CONCISE | concise |
| DETAILED | detailed |
| AUTO | auto |
| Value |
|---|
concise |
detailed |
auto |
ServiceTier
| Name | Value |
|---|---|
| Auto | auto |
| Default | default |
| Flex | flex |
| Priority | priority |
| Fast | fast |
| Ultrafast | ultrafast |
| Name | Value |
|---|---|
| Service | auto |
| Service | default |
| Service | flex |
| Service | priority |
| Service | fast |
| Service | ultrafast |
| Value |
|---|
auto |
default |
flex |
priority |
fast |
ultrafast |
| Name | Value |
|---|---|
| Auto | auto |
| Default | default |
| Flex | flex |
| Priority | priority |
| Fast | fast |
| Ultrafast | ultrafast |
| Name | Value |
|---|---|
| Auto | auto |
| Default | default |
| Flex | flex |
| Priority | priority |
| Fast | fast |
| Ultrafast | ultrafast |
| Name | Value |
|---|---|
| AUTO | auto |
| DEFAULT | default |
| FLEX | flex |
| PRIORITY | priority |
| FAST | fast |
| ULTRAFAST | ultrafast |
| Value |
|---|
auto |
default |
flex |
priority |
fast |
ultrafast |
TextFormatType
| Name | Value |
|---|---|
| Text | text |
| Json | json_schema |
| Name | Value |
|---|---|
| Text | text |
| Text | json_schema |
| Value |
|---|
text |
json_schema |
| Name | Value |
|---|---|
| Text | text |
| Json | json_schema |
| Name | Value |
|---|---|
| Text | text |
| Json | json_schema |
| Name | Value |
|---|---|
| TEXT | text |
| JSON_SCHEMA | json_schema |
| Value |
|---|
text |
json_schema |
TextVerbosity
| Name | Value |
|---|---|
| Low | low |
| Medium | medium |
| High | high |
| Name | Value |
|---|---|
| Text | low |
| Text | medium |
| Text | high |
| Value |
|---|
low |
medium |
high |
| Name | Value |
|---|---|
| Low | low |
| Medium | medium |
| High | high |
| Name | Value |
|---|---|
| Low | low |
| Medium | medium |
| High | high |
| Name | Value |
|---|---|
| LOW | low |
| MEDIUM | medium |
| HIGH | high |
| Value |
|---|
low |
medium |
high |
ToolType
| Name | Value | Description |
|---|---|---|
| Function | function | A function the caller implements. |
| Tool | tool_search | Lets the agent discover deferred function tools. |
| Programmatic | programmatic_tool_calling | Lets the agent call tools from code. |
| Mcp | mcp | Tools served by a Model Context Protocol server. |
| Web | web_search | Web search. |
| Computer | computer_use | Computer use. |
| Automations | automations | Lets the agent manage its own scheduled wakeups. |
| Name | Value | Description |
|---|---|---|
| Tool | function | A function the caller implements. |
| Tool | tool_search | Lets the agent discover deferred function tools. |
| Tool | programmatic_tool_calling | Lets the agent call tools from code. |
| Tool | mcp | Tools served by a Model Context Protocol server. |
| Tool | web_search | Web search. |
| Tool | computer_use | Computer use. |
| Tool | automations | Lets the agent manage its own scheduled wakeups. |
| Value | Description |
|---|---|
function | A function the caller implements. |
tool_search | Lets the agent discover deferred function tools. |
programmatic_tool_calling | Lets the agent call tools from code. |
mcp | Tools served by a Model Context Protocol server. |
web_search | Web search. |
computer_use | Computer use. |
automations | Lets the agent manage its own scheduled wakeups. |
| Name | Value | Description |
|---|---|---|
| Function | function | A function the caller implements. |
| Tool | tool_search | Lets the agent discover deferred function tools. |
| Programmatic | programmatic_tool_calling | Lets the agent call tools from code. |
| Mcp | mcp | Tools served by a Model Context Protocol server. |
| Web | web_search | Web search. |
| Computer | computer_use | Computer use. |
| Automations | automations | Lets the agent manage its own scheduled wakeups. |
| Name | Value | Description |
|---|---|---|
| Function | function | A function the caller implements. |
| Tool | tool_search | Lets the agent discover deferred function tools. |
| Programmatic | programmatic_tool_calling | Lets the agent call tools from code. |
| Mcp | mcp | Tools served by a Model Context Protocol server. |
| Web | web_search | Web search. |
| Computer | computer_use | Computer use. |
| Automations | automations | Lets the agent manage its own scheduled wakeups. |
| Name | Value | Description |
|---|---|---|
| FUNCTION | function | A function the caller implements. |
| TOOL_SEARCH | tool_search | Lets the agent discover deferred function tools. |
| PROGRAMMATIC_TOOL_CALLING | programmatic_tool_calling | Lets the agent call tools from code. |
| MCP | mcp | Tools served by a Model Context Protocol server. |
| WEB_SEARCH | web_search | Web search. |
| COMPUTER_USE | computer_use | Computer use. |
| AUTOMATIONS | automations | Lets the agent manage its own scheduled wakeups. |
| Value | Description |
|---|---|
function | A function the caller implements. |
tool_search | Lets the agent discover deferred function tools. |
programmatic_tool_calling | Lets the agent call tools from code. |
mcp | Tools served by a Model Context Protocol server. |
web_search | Web search. |
computer_use | Computer use. |
automations | Lets the agent manage its own scheduled wakeups. |
WebSearchContextSize
| Name | Value |
|---|---|
| Low | low |
| Medium | medium |
| High | high |
| Name | Value |
|---|---|
| Web | low |
| Web | medium |
| Web | high |
| Value |
|---|
low |
medium |
high |
| Name | Value |
|---|---|
| Low | low |
| Medium | medium |
| High | high |
| Name | Value |
|---|---|
| Low | low |
| Medium | medium |
| High | high |
| Name | Value |
|---|---|
| LOW | low |
| MEDIUM | medium |
| HIGH | high |
| Value |
|---|
low |
medium |
high |
WebSearchMode
| Name | Value |
|---|---|
| Disabled | disabled |
| Cached | cached |
| Live | live |
| Name | Value |
|---|---|
| Web | disabled |
| Web | cached |
| Web | live |
| Value |
|---|
disabled |
cached |
live |
| Name | Value |
|---|---|
| Disabled | disabled |
| Cached | cached |
| Live | live |
| Name | Value |
|---|---|
| Disabled | disabled |
| Cached | cached |
| Live | live |
| Name | Value |
|---|---|
| DISABLED | disabled |
| CACHED | cached |
| LIVE | live |
| Value |
|---|
disabled |
cached |
live |
Package Details
- Repository
- openai pulumi-labs/pulumi-openai
- License
- Apache-2.0
published on Monday, Nov 23, 2026 by Pulumi Labs