dify_setup
Add or update a Dify instance using an alias and site URL, with credentials taken from your local Chrome login instead of account passwords.
Instructions
添加或修改一个 Dify 实例。只需要 alias 和站点地址(例如 https://dify.example.com);凭据是本机 Chrome 的登录态,不需要账号密码。
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": {
"alias": "<alias>",
"baseUrl": "<baseUrl>"
},
"name": "dify_setup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | Yes | 实例别名,例如 prod。 | |
| baseUrl | Yes | Dify 站点地址,例如 http://dify.example.com。 | |
| poolPort | No | 可选。chrome-pool 端口,默认 3333;0 表示禁用并直连 Chrome。 | |
| debugPort | No | 可选。直连 Chrome 的调试端口;省略时自动探测。 | |
| description | No | 可选备注。 | |
| makeDefault | No | 设为默认实例。 |