create_capability_binding
Save a capability binding for a provider/profile pair, returning a binding ID for use in Algenta. Specify scope and execution owner to control visibility and runtime.
Instructions
Save one capability binding for a provider/profile pair and return it with its binding_id. scope (default workspace) decides who can use it, execution_owner decides where executions run (algenta_managed on the engine, client_managed in the customer app or adapter path), and config carries the profile's credentials and options. Find valid provider_id/profile_id pairs with list_capability_providers, then call discover_capability_binding to publish the binding's capabilities and test_capability_binding to verify. Persists the binding.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Visibility scope; defaults to workspace. | |
| config | No | Profile credentials and options. | |
| scope_ref | No | Optional concrete user/workspace id the scope binds to. | |
| profile_id | Yes | Profile id within the provider. | |
| provider_id | Yes | Provider id from list_capability_providers. | |
| binding_name | Yes | Human-readable binding name. | |
| execution_owner | No | Where executions run; defaults to the profile's default_execution_owner. | |
| customer_metadata | No | Optional caller metadata stored with the binding. |