@tryopenbot/connector-tools
v0.2.0
Published
Vercel AI SDK tools for in-chat connector (Tilde tool-provider) configuration. Authored agents import these tools directly without depending on a deployment provider package.
Readme
@tryopenbot/connector-tools
Vercel AI SDK tools for in-chat connector (Tilde tool-provider) configuration. Authored agents import these tools directly without depending on a deployment provider package.
Public API
createConfigureConnectorTool(options)— a local agent tool that lists a provider's enabled Tilde accounts and emits aconnector_selectionpayload the clients render as an account-picker card. The tool result tells the model the card is in the chat and to end its turn. The owner client binds the selected account directly through Tilde's idempotent bulk binding endpoint; it does not spend another model turn asking the agent to perform control-plane work.
ConnectorToolOptions supplies the Tilde API key, org, and team (directly or
as lazy resolvers) plus an optional base URL and fetch implementation.
