synchronize_gateway_targets¶
Operation¶
synchronize_gateway_targets
async
¶
synchronize_gateway_targets(input: SynchronizeGatewayTargetsInput, plugins: list[Plugin] | None = None) -> SynchronizeGatewayTargetsOutput
Synchronizes the gateway targets by fetching the latest tool definitions from the target endpoints.
You cannot synchronize a target that is in a pending authorization state
(CREATE_PENDING_AUTH, UPDATE_PENDING_AUTH, or
SYNCHRONIZE_PENDING_AUTH). Wait for the authorization to complete or
fail before synchronizing.
You cannot synchronize a target that has a static tool schema
(mcpToolSchema) configured. Remove the static schema through an
UpdateGatewayTarget call to enable dynamic tool synchronization.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
SynchronizeGatewayTargetsInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
SynchronizeGatewayTargetsOutput
|
An instance of |
Input¶
SynchronizeGatewayTargetsInput
dataclass
¶
Output¶
SynchronizeGatewayTargetsOutput
dataclass
¶
Dataclass for SynchronizeGatewayTargetsOutput structure.
Attributes¶
targets
class-attribute
instance-attribute
¶
targets: list[GatewayTarget] | None = None
The gateway targets for synchronization.