Reauthorize a connector
reauthorize_connectorRenew the authorization of an organization connector that signs in to a provider in a browser, either an OAuth connector or a Composio-managed one, for a connector whose grant the provider revoked or whose first authorization never finished. This tool does not return the provider's address. Say plainly in reason why the sign-in is needed. The answer carries a request whose url the person opens, signed in to Valet, to sign in to the provider from there; give the person the url, then follow the request with get_request. The connector keeps its name and configuration, and only new tokens are issued. A repeat by the same person returns the same pending request. The request completes only after a new consent for an OAuth connector; for a managed toolkit an active connection is reused. A connector whose credential is a secret is refused, and the answer names the organization secrets it reads. A person sets those at organization scope, on the dashboard or with valet env set --org in their own terminal; set_env_vars sets one app's or agent's own variables and does not repair an organization connector. A Composio toolkit that takes an API key hands off to the Integrations page. Requires connecting a Valet account.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"connector": "<connector>"
},
"name": "reauthorize_connector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Shown to the person on the request page to explain why the values are needed, so they can decide whether to enter them, such as: The Linear sign-in expired. Sign in again so the agent can read tickets. | |
| org_name | No | The Valet organization the connector belongs to. Omit to use the organization the account joined first. | |
| connector | Yes | The connector to sign in again, by the name list_connectors shows. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org | Yes | Name of the Valet organization the call acted in. | |
| url | No | The Integrations page the person opens. It holds no credential. Absent unless step is set. | |
| step | No | What the person does on the Integrations page, for a Composio toolkit that takes an API key. Absent otherwise. | |
| request | No | The request a person completes in the dashboard to enter a value that must not pass through this conversation. Absent when nothing needs a person. | |
| secrets | No | Names of the organization secrets the connector reads, which a person sets at organization scope on the dashboard or with valet env set --org. Never values. Absent for a connector that takes none. | |
| connector | Yes | Name of the connector to reauthorize. |