check_subscription
Check your current ElevenLabs API subscription status and monitor usage to manage your account effectively.
Instructions
Check the current subscription status. Could be used to measure the usage of the API.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- elevenlabs_mcp/server.py:560-562 (handler)The handler function for the 'check_subscription' tool. It retrieves the user's subscription details using the ElevenLabs client and returns them as formatted JSON text content.def check_subscription() -> TextContent: subscription = client.user.subscription.get() return TextContent(type="text", text=f"{subscription.model_dump_json(indent=2)}")
- elevenlabs_mcp/server.py:557-559 (registration)Registers the 'check_subscription' tool using the @mcp.tool decorator with its description.@mcp.tool( description="Check the current subscription status. Could be used to measure the usage of the API." )