supportpages_init
Sign this device in to SupportPages.io when needed and link the current workspace to a help centre; if browser approval is unavailable, return an approval link for the user.
Instructions
Sign this device in to SupportPages.io if needed and link the current workspace to a help centre. A folder set up to save articles locally returns local without any sign-in unless host_local=true, which means the user explicitly asked to sign in or use a help centre from it. Without a device sign-in it opens browser approval when supported, otherwise returns an approval link: show the link and comparison code to the user; sign-in completes privately in the background (check supportpages_status). Once signed in, a workspace with no linked help centre returns project_required with the account’s help centres: ask the user which one to use, then call this tool again with that project_id, or call supportpages_create_project first. Never accept a token in chat or approve for the user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signup | No | True when the user chose to create a free SupportPages.io account: browser approval starts on registration instead of sign-in. | |
| workspace | No | Select an absolute client workspace root only when discovery is ambiguous. | |
| host_local | No | True when the user explicitly asked to sign in or use a help centre from a folder that saves articles locally. Sign-in proceeds and, once a project_id is chosen, the link makes the folder hosted while its saved files stay in place. | |
| project_id | No | Help centre to link this workspace to when it is not linked yet. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| result | No |