Skip to content

AgentExternalOperationReference

A tool an agent may call in every interaction it takes part in.

Kind: an object, used in requests and responses. In a request it is called AgentExternalOperationReferenceInput.

FieldTypeRequiredDescription
externalOperationIduuidThe tool’s id.
externalOperationVersioninteger | nullThe version of the tool the agent calls. Leave it out to use the tool’s latest enabled version, which is fixed when the agent is saved. Constraints: range: 1..2147483647.
promptGuidancestring | nullA note kept with the agent about how it should use the tool. The model reads the tool’s own guidance; to change that for one interaction, set the guidance where the interaction binds the tool.
{
"externalOperationId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"externalOperationVersion": 0,
"promptGuidance": "..."
}

Every field is present in a response; empty ones are null.

FieldTypeDescription
externalOperationIduuidThe tool’s id.
externalOperationVersioninteger | nullThe version of the tool the agent calls. Leave it out to use the tool’s latest enabled version, which is fixed when the agent is saved. Constraints: range: 1..2147483647.
promptGuidancestring | nullA note kept with the agent about how it should use the tool. The model reads the tool’s own guidance; to change that for one interaction, set the guidance where the interaction binds the tool.
{
"externalOperationId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f",
"externalOperationVersion": 0,
"promptGuidance": "..."
}