Skip to main content

get_tokenset

Retrieves a tokenset including all its modes and token counts.

Tool Schema

{
  "name": "get_tokenset",
  "description": "Get a Tokencraft tokenset with its modes",
  "inputSchema": {
    "type": "object",
    "properties": {
      "tokenset_id": {
        "type": "string",
        "description": "ID of the tokenset"
      }
    },
    "required": ["tokenset_id"]
  }
}

Parameters

ParameterTypeRequiredDescription
tokenset_idstringYesTokenset ID

Response

{
  "id": "550e8400-e29b-41d4-a716-446655440010",
  "name": "Colors",
  "description": "Brand colors and color palette",
  "workspace_id": "550e8400-e29b-41d4-a716-446655440000",
  "created_at": "2025-01-15T11:00:00Z",
  "updated_at": "2025-01-15T11:00:00Z"
}

Example Usage

You: Show me the Colors tokenset with all its modes

Claude: **Colors Tokenset**

Description: Color tokens for the design system

**Modes**:
- Light (default) - 50 tokens
- Dark - 50 tokens
- High Contrast - 45 tokens

Total: 145 tokens across 3 modes

See Also