find_token
Find design tokens by matching names or values with case-insensitive substring search. Requires tokensPath configuration.
Instructions
Find design tokens by name pattern or value using a case-insensitive substring match. Requires tokensPath to be set in mcpwc.config.json or MCP_WC_TOKENS_PATH.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "find_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The search string to match against token names and values (case-insensitive substring match). |