← WebMCP Directory

Tool tree

tok.show

AI & AgentsTools verified
Website
TokShow
Explore capabilities
    inspectAnswer

    Get a compact description of the current Tok·Show UI state without reading the editor contents or detailed token results.

    View tool JSON
    {
      "name": "inspect",
      "kind": "answer",
      "impl": "imperative",
      "description": "Get a compact description of the current Tok·Show UI state without reading the editor contents or detailed token results.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      }
    }
    read_editorAnswer

    Read the complete contents of the editor currently visible in Tok·Show.

    View tool JSON
    {
      "name": "read_editor",
      "kind": "answer",
      "impl": "imperative",
      "description": "Read the complete contents of the editor currently visible in Tok·Show.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      }
    }
    read_resultsAnswer

    Get the current token counts for the models visible in Tok·Show. If GUI tokenization is still pending or running, waits for the current UI state to become idle before reading results.

    View tool JSON
    {
      "name": "read_results",
      "kind": "answer",
      "impl": "imperative",
      "description": "Get the current token counts for the models visible in Tok·Show. If GUI tokenization is still pending or running, waits for the current UI state to become idle before reading results.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      }
    }
    overwrite_editorAction

    Replace the contents of the editor currently visible in Tok·Show with supplied text or the UTF-8 body fetched from a URL.

    View tool JSON
    {
      "name": "overwrite_editor",
      "kind": "act",
      "impl": "imperative",
      "description": "Replace the contents of the editor currently visible in Tok·Show with supplied text or the UTF-8 body fetched from a URL.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "maxLength": 1000000,
            "description": "Text content to use directly."
          },
          "url": {
            "type": "string",
            "description": "HTTP(S) URL whose UTF-8 response body should be used as text content. Cross-origin URLs must permit browser fetches."
          }
        },
        "oneOf": [
          {
            "required": [
              "text"
            ],
            "not": {
              "required": [
                "url"
              ]
            }
          },
          {
            "required": [
              "url"
            ],
            "not": {
              "required": [
                "text"
              ]
            }
          }
        ],
        "additionalProperties": false
      }
    }
    get_permalinkAnswer

    Get a permalink representing the current visible Tok·Show editor, model selection, focused model and editor mode.

    View tool JSON
    {
      "name": "get_permalink",
      "kind": "answer",
      "impl": "imperative",
      "description": "Get a permalink representing the current visible Tok·Show editor, model selection, focused model and editor mode.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      }
    }
    list_modelsAnswer

    List every tokenizer model available in Tok·Show, including its stable model ID, display names, tokenizer kind, OpenRouter identifier when available and source metadata.

    View tool JSON
    {
      "name": "list_models",
      "kind": "answer",
      "impl": "imperative",
      "description": "List every tokenizer model available in Tok·Show, including its stable model ID, display names, tokenizer kind, OpenRouter identifier when available and source metadata.",
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false
      }
    }
    count_tokensAnswer

    Count tokens for supplied text with one model or several models without changing the Tok·Show UI. models accepts one model ID or an array and defaults to all models.

    View tool JSON
    {
      "name": "count_tokens",
      "kind": "answer",
      "impl": "imperative",
      "description": "Count tokens for supplied text with one model or several models without changing the Tok·Show UI. models accepts one model ID or an array and defaults to all models.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "maxLength": 1000000,
            "description": "Text content to use directly."
          },
          "url": {
            "type": "string",
            "description": "HTTP(S) URL whose UTF-8 response body should be used as text content. Cross-origin URLs must permit browser fetches."
          },
          "models": {
            "oneOf": [
              {
                "type": "string",
                "enum": [
                  "gpt",
                  "gemma",
                  "qwen",
                  "kimi",
                  "deepseek",
                  "mimo",
                  "sdxl",
                  "glm",
                  "minimax",
                  "hy",
                  "step",
                  "muse"
                ]
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "gpt",
                    "gemma",
                    "qwen",
                    "kimi",
                    "deepseek",
                    "mimo",
                    "sdxl",
                    "glm",
                    "minimax",
                    "hy",
                    "step",
                    "muse"
                  ]
                },
                "minItems": 1,
                "maxItems": 12,
                "uniqueItems": true
              }
            ],
            "description": "One model ID or an array of model IDs. Defaults to all available models."
          }
        },
        "oneOf": [
          {
            "required": [
              "text"
            ],
            "not": {
              "required": [
                "url"
              ]
            }
          },
          {
            "required": [
              "url"
            ],
            "not": {
              "required": [
                "text"
              ]
            }
          }
        ],
        "additionalProperties": false
      }
    }
    tokenizeAction

    Return token ID arrays for supplied text with one model or several models without changing the Tok·Show UI. models accepts one model ID or an array and defaults to all models.

    View tool JSON
    {
      "name": "tokenize",
      "kind": "act",
      "impl": "imperative",
      "description": "Return token ID arrays for supplied text with one model or several models without changing the Tok·Show UI. models accepts one model ID or an array and defaults to all models.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "maxLength": 1000000,
            "description": "Text content to use directly."
          },
          "url": {
            "type": "string",
            "description": "HTTP(S) URL whose UTF-8 response body should be used as text content. Cross-origin URLs must permit browser fetches."
          },
          "models": {
            "oneOf": [
              {
                "type": "string",
                "enum": [
                  "gpt",
                  "gemma",
                  "qwen",
                  "kimi",
                  "deepseek",
                  "mimo",
                  "sdxl",
                  "glm",
                  "minimax",
                  "hy",
                  "step",
                  "muse"
                ]
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "gpt",
                    "gemma",
                    "qwen",
                    "kimi",
                    "deepseek",
                    "mimo",
                    "sdxl",
                    "glm",
                    "minimax",
                    "hy",
                    "step",
                    "muse"
                  ]
                },
                "minItems": 1,
                "maxItems": 12,
                "uniqueItems": true
              }
            ],
            "description": "One model ID or an array of model IDs. Defaults to all available models."
          }
        },
        "oneOf": [
          {
            "required": [
              "text"
            ],
            "not": {
              "required": [
                "url"
              ]
            }
          },
          {
            "required": [
              "url"
            ],
            "not": {
              "required": [
                "text"
              ]
            }
          }
        ],
        "additionalProperties": false
      }
    }
    create_spansAction

    Return the byte start/end span corresponding to every token for supplied text with one model or several models, without changing the Tok·Show UI. Spans normally address the supplied input bytes. If a tokenizer normalizes its input first, spanInputs identifies the processed text whose bytes the spans address.

    View tool JSON
    {
      "name": "create_spans",
      "kind": "act",
      "impl": "imperative",
      "description": "Return the byte start/end span corresponding to every token for supplied text with one model or several models, without changing the Tok·Show UI. Spans normally address the supplied input bytes. If a tokenizer normalizes its input first, spanInputs identifies the processed text whose bytes the spans address.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "maxLength": 1000000,
            "description": "Text content to use directly."
          },
          "url": {
            "type": "string",
            "description": "HTTP(S) URL whose UTF-8 response body should be used as text content. Cross-origin URLs must permit browser fetches."
          },
          "models": {
            "oneOf": [
              {
                "type": "string",
                "enum": [
                  "gpt",
                  "gemma",
                  "qwen",
                  "kimi",
                  "deepseek",
                  "mimo",
                  "sdxl",
                  "glm",
                  "minimax",
                  "hy",
                  "step",
                  "muse"
                ]
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "gpt",
                    "gemma",
                    "qwen",
                    "kimi",
                    "deepseek",
                    "mimo",
                    "sdxl",
                    "glm",
                    "minimax",
                    "hy",
                    "step",
                    "muse"
                  ]
                },
                "minItems": 1,
                "maxItems": 12,
                "uniqueItems": true
              }
            ],
            "description": "One model ID or an array of model IDs. Defaults to all available models."
          }
        },
        "oneOf": [
          {
            "required": [
              "text"
            ],
            "not": {
              "required": [
                "url"
              ]
            }
          },
          {
            "required": [
              "url"
            ],
            "not": {
              "required": [
                "text"
              ]
            }
          }
        ],
        "additionalProperties": false
      }
    }
    compareAction

    Compare token counts for multiple content cases using one model. Each case is either inline text or a URL whose UTF-8 response body is fetched.

    View tool JSON
    {
      "name": "compare",
      "kind": "act",
      "impl": "imperative",
      "description": "Compare token counts for multiple content cases using one model. Each case is either inline text or a URL whose UTF-8 response body is fetched.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "model": {
            "type": "string",
            "enum": [
              "gpt",
              "gemma",
              "qwen",
              "kimi",
              "deepseek",
              "mimo",
              "sdxl",
              "glm",
              "minimax",
              "hy",
              "step",
              "muse"
            ]
          },
          "cases": {
            "type": "array",
            "minItems": 2,
            "maxItems": 64,
            "items": {
              "type": "object",
              "properties": {
                "text": {
                  "type": "string",
                  "maxLength": 1000000,
                  "description": "Text content to use directly."
                },
                "url": {
                  "type": "string",
                  "description": "HTTP(S) URL whose UTF-8 response body should be used as text content. Cross-origin URLs must permit browser fetches."
                }
              },
              "oneOf": [
                {
                  "required": [
                    "text"
                  ],
                  "not": {
                    "required": [
                      "url"
                    ]
                  }
                },
                {
                  "required": [
                    "url"
                  ],
                  "not": {
                    "required": [
                      "text"
                    ]
                  }
                }
              ],
              "additionalProperties": false
            }
          }
        },
        "required": [
          "model",
          "cases"
        ],
        "additionalProperties": false
      }
    }
    create_permalinkAction

    Build a Tok·Show permalink for a made-up UI state without changing the current page. Content may be inline text or fetched from a URL.

    View tool JSON
    {
      "name": "create_permalink",
      "kind": "act",
      "impl": "imperative",
      "description": "Build a Tok·Show permalink for a made-up UI state without changing the current page. Content may be inline text or fetched from a URL.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "text": {
            "type": "string",
            "maxLength": 1000000,
            "description": "Text content to use directly."
          },
          "url": {
            "type": "string",
            "description": "HTTP(S) URL whose UTF-8 response body should be used as text content. Cross-origin URLs must permit browser fetches."
          },
          "models": {
            "oneOf": [
              {
                "type": "string",
                "enum": [
                  "gpt",
                  "gemma",
                  "qwen",
                  "kimi",
                  "deepseek",
                  "mimo",
                  "sdxl",
                  "glm",
                  "minimax",
                  "hy",
                  "step",
                  "muse"
                ]
              },
              {
                "type": "array",
                "items": {
                  "type": "string",
                  "enum": [
                    "gpt",
                    "gemma",
                    "qwen",
                    "kimi",
                    "deepseek",
                    "mimo",
                    "sdxl",
                    "glm",
                    "minimax",
                    "hy",
                    "step",
                    "muse"
                  ]
                },
                "minItems": 1,
                "maxItems": 12,
                "uniqueItems": true
              }
            ],
            "description": "One model ID or an array of model IDs. Defaults to all available models."
          },
          "model": {
            "type": "string",
            "enum": [
              "gpt",
              "gemma",
              "qwen",
              "kimi",
              "deepseek",
              "mimo",
              "sdxl",
              "glm",
              "minimax",
              "hy",
              "step",
              "muse"
            ]
          },
          "monaco": {
            "type": "boolean",
            "description": "Whether the permalink should use the Monaco editor. Defaults to true.",
            "default": true
          }
        },
        "oneOf": [
          {
            "required": [
              "text"
            ],
            "not": {
              "required": [
                "url"
              ]
            }
          },
          {
            "required": [
              "url"
            ],
            "not": {
              "required": [
                "text"
              ]
            }
          }
        ],
        "additionalProperties": false
      }
    }