Skip to main content

get_workspace

Retrieves detailed information about a specific workspace, including its tokensets.

Tool Schema

{
  "name": "get_workspace",
  "description": "Get details of a specific Tokencraft workspace",
  "inputSchema": {
    "type": "object",
    "properties": {
      "workspace_id": {
        "type": "string",
        "description": "ID of the workspace"
      }
    },
    "required": ["workspace_id"]
  }
}

Parameters

ParameterTypeRequiredDescription
workspace_idstringYesWorkspace ID

Response

{
  "workspace": {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "name": "Design System",
    "description": "Main product design system",
    "created_at": "2025-01-15T10:00:00Z"
  },
  "tokensets": [
    {
      "id": "tokenset-123",
      "name": "Colors",
      "description": "Color tokens"
    }
  ]
}

Example Usage

Basic Request

You: Show me details of the Design System workspace
Claude: **Design System Workspace**

Created: Jan 15, 2025
Description: Main product design system

**Tokensets** (3):
- Colors (50 tokens)
- Typography (25 tokens)
- Spacing (15 tokens)

Complex Query

You: What's in the Design System workspace and how many tokens does it have total?

Claude: [Gets workspace, counts tokens across all tokensets]
        
        The Design System workspace contains 3 tokensets with a total of 90 tokens...

See Also