Skip to main content
Glama

accountLinks.generateTemporary

Generate temporary account links for hosted sub-accounts to enable secure redirects to specified URLs.

Instructions

Generate a temporary Ryft account link for a hosted sub-account.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountIdYes
redirectUrlYes

Implementation Reference

  • The tool 'accountLinks.generateTemporary' is registered here. The handler function directly calls `client.post` with the provided arguments.
    registerTool(
      'accountLinks.generateTemporary',
      'Generate a temporary Ryft account link for a hosted sub-account.',
      temporaryAccountLinkSchema.shape,
      async (args) => client.post('/account-links', temporaryAccountLinkSchema.parse(args)),
    );
  • Schema definition for the inputs required by 'accountLinks.generateTemporary'.
    const temporaryAccountLinkSchema = z.object({
      accountId: z.string().min(1),
      redirectUrl: z.string().url(),
    });
  • Registration function for account link tools.
    export function registerAccountLinkTools(registerTool: ToolRegistrar, client: RyftHttpClient) {
      registerTool(
        'accountLinks.generateTemporary',
        'Generate a temporary Ryft account link for a hosted sub-account.',
        temporaryAccountLinkSchema.shape,
        async (args) => client.post('/account-links', temporaryAccountLinkSchema.parse(args)),
      );
    }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bkawk/ryft-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server