Connect to Textile Designer AI
loginAuthenticate your Textile Designer AI account via device code: returns a URL and code, optionally opens the browser, and can wait for the link to complete.
Instructions
Start the device-code login. Returns a URL and a code; the browser opens automatically unless open_browser is false. The server keeps polling in the background: call whoami to confirm, or set wait_seconds to block until linked.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| open_browser | No | Open the verification URL in the default browser. Default true. | |
| wait_seconds | No | Block up to this many seconds for the link to complete. Default 0 (return at once). |