OpenApiExternalOperationBinding
An HTTP tool made available in one place (to a whole interaction, to one participant, or to an app), with any values and credentials that apply there. What is set here overrides the tool’s own settings.
Kind: an object, used in requests and responses. In a request it is called OpenApiExternalOperationBindingInput.
In a request
Section titled “In a request”| Field | Type | Required | Description |
|---|---|---|---|
pathBindings | ConnectorBinding[] | Fixed values for the connector’s path parameters ([] for none). | |
queryBindings | ConnectorBinding[] | Fixed values for the connector’s query parameters ([] for none). | |
name | string | null | The name the model calls the tool by here. Null: the tool’s own name. Constraints: minLength: 1. | |
externalOperationId | uuid | yes | The tool’s id. Constraints: required (empty or whitespace-only strings are rejected). |
externalOperationVersion | integer | null | The exact version of the tool this binding calls, so a later change to the tool or its connector never changes what is called here. Leave it out on a request to use the tool’s latest enabled version, which is then recorded. Constraints: range: 1..2147483647. | |
requestBindings | ConnectorBinding[] | yes | Fixed values for fields of the request body, which the model never sees or chooses ([] for none). Constraints: required (empty or whitespace-only strings are rejected). |
authenticationHeader | ConnectorAuthenticationHeader| null | A credential to send with every call made here, instead of the tool’s own. Null: the tool’s own. | |
promptGuidance | string | null | When and how to use the tool here, instead of the tool’s own guidance. The model reads it. | |
isTerminal | boolean | Whether a successful call ends the agent’s turn: the result is recorded and the model is not asked to continue. Use it for a “finish” tool meant to be the last thing an agent does in a turn. Defaults to false. |
{ "pathBindings": [ { "target": "...", "value": "..." } ], "queryBindings": [ { "target": "...", "value": "..." } ], "name": "...", "externalOperationId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f", "externalOperationVersion": 0, "requestBindings": [ { "target": "...", "value": "..." } ], "authenticationHeader": { "headerName": "...", "secretId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f" }, "promptGuidance": "...", "isTerminal": false}In a response
Section titled “In a response”Every field is present in a response; empty ones are null.
| Field | Type | Description |
|---|---|---|
pathBindings | ConnectorBinding[] | Fixed values for the connector’s path parameters ([] for none). |
queryBindings | ConnectorBinding[] | Fixed values for the connector’s query parameters ([] for none). |
name | string | null | The name the model calls the tool by here. Null: the tool’s own name. Constraints: minLength: 1. |
externalOperationId | uuid | The tool’s id. Constraints: required (empty or whitespace-only strings are rejected). |
externalOperationVersion | integer | null | The exact version of the tool this binding calls, so a later change to the tool or its connector never changes what is called here. Leave it out on a request to use the tool’s latest enabled version, which is then recorded. Constraints: range: 1..2147483647. |
requestBindings | ConnectorBinding[] | Fixed values for fields of the request body, which the model never sees or chooses ([] for none). Constraints: required (empty or whitespace-only strings are rejected). |
authenticationHeader | ConnectorAuthenticationHeader| null | A credential to send with every call made here, instead of the tool’s own. Null: the tool’s own. |
promptGuidance | string | null | When and how to use the tool here, instead of the tool’s own guidance. The model reads it. |
isTerminal | boolean | Whether a successful call ends the agent’s turn: the result is recorded and the model is not asked to continue. Use it for a “finish” tool meant to be the last thing an agent does in a turn. Defaults to false. |
{ "pathBindings": [ { "target": "...", "value": "..." } ], "queryBindings": [ { "target": "...", "value": "..." } ], "name": "...", "externalOperationId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f", "externalOperationVersion": 0, "requestBindings": [ { "target": "...", "value": "..." } ], "authenticationHeader": { "headerName": "...", "secretId": "3f2b8c1e-5d4a-4e6b-9c7d-2a1b0c9d8e7f" }, "promptGuidance": "...", "isTerminal": false}Where it’s used
Section titled “Where it’s used”- Inside
AppVersion - Inside
CodePipelineAgent - Inside
CodePipelineCreateRequest - Inside
CodePipelineUpdateRequest - Inside
CodePipelineVersion - Inside
InteractionAgentBinding - Inside
ManagedInteractionAgentBinding - Inside
ManagedInteractionCreateRequest - Inside
ManagedInteractionUpdateRequest - Inside
ManagedInteractionVersion - Inside
OneShotInteractionCreateRequest - Inside
OneShotInteractionUpdateRequest - Inside
OneShotInteractionVersion - Inside
RoundRobinInteractionCreateRequest - Inside
RoundRobinInteractionUpdateRequest - Inside
RoundRobinInteractionVersion