admin_reset_limits
Reset all rate limits for a LinkedIn account to system defaults by providing the account UUID. Use this tool to restore default rate limits without manual adjustment.
Instructions
Reset all rate limits for an account to the system defaults.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | Account UUID |
Implementation Reference
- src/tools/admin-reset-limits.ts:13-21 (handler)The execute method that performs the tool logic: calls admin.limits.resetToDefaults(args) to reset rate limits for an account.
public override async execute({ admin, args, }: { admin: LinkedApiAdmin; args: TResetLimitsParams; }): Promise<void> { await admin.limits.resetToDefaults(args); } - src/tools/admin-reset-limits.ts:9-11 (schema)Zod schema and input validation: requires a single 'accountId' string.
protected readonly schema = z.object({ accountId: z.string(), }); - MCP Tool definition with inputSchema: describes 'accountId' string parameter as required.
public override getTool(): Tool { return { name: this.name, description: 'Reset all rate limits for an account to the system defaults.', inputSchema: { type: 'object', properties: { accountId: { type: 'string', description: 'Account UUID', }, }, required: ['accountId'], }, }; - src/linked-api-tools.ts:90-90 (registration)Instantiation of AdminResetLimitsTool and inclusion in the adminTools array for registration.
new AdminResetLimitsTool(), - src/linked-api-tools.ts:8-8 (registration)Import of AdminResetLimitsTool into the registration module.
import { AdminResetLimitsTool } from './tools/admin-reset-limits.js';