Spiral gives your agent every tool with one account. Browse the tools →

VS Code · Sports

How to Use WTT match details in VS Code

Returns one match card with competitors, game scores, winner, duration, and venue details. Use it to examine a particular contest after finding it in tournament results.

Prompts to try with WTT match details in VS Code

Copy an example into VS Code, or ask in your own words.

Use WTT match details for the Singapore Smash 2025 men’s singles final, resolving its match identifier first, and add a game-by-game score view to this project.

WTT match detailsVS Code
Try asking
  • Use WTT match details to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from WTT match details and tell me what changed since last week.

  • Check WTT match details and summarize what you find in three bullet points.

  • Pull the newest data from WTT match details and give me the result as a table.

How to set up WTT match details in VS Code

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to VS Code on the console's Agents & MCP page, or run:

    code --add-mcp '{"name":"spiral","type":"http","url":"https://api.spiral.ai/mcp"}'
  2. Sign in

    VS Code asks you to sign in when it first starts the server: sign in to Spiral and click Authorize. No API key. Run MCP: List Servers from the Command Palette to check that Spiral is running.

Use the Spiral skill

  1. Send VS Code this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run WTT match details

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "worldtabletennis-com/table-tennis/match",
        "input": {
          "event_id": 1,
          "document_code": "<document_code>"
        }
      }'

Then paste one of the prompts above: VS Code finds WTT match details on Spiral, shows the price and runs it.

WTT match details providers and prices

Spiral runs WTT match details through Alexandria. Open a card for today's price, with every fee included.

AlexandriaSports
World Table Tennis · Match
worldtabletennis-com/table-tennis/match

Settings you can ask for

Ask VS Code for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Event ID1 to 99999999

event_id

Every API field of World Table Tennis · Match is on its tool page: open its card above.

What can you do with WTT match details in VS Code?

Build a table tennis results browser that connects tournament records, match cards, and dated standings. A coding agent can add views for game scores and ranking publication dates to your project.

Weekly table tennis briefing

Combine tournament dates, official results, and selected match cards into a weekly briefing. Add current standings and the ranking publication date so readers can place the performances in context.

Tournament wrap-up

Find a completed tournament, summarize its final rounds, and examine the decisive matches. Include a clearly dated comparison with current ITTF standings.

National association performance review

Review Japan’s or France’s results across selected WTT tournaments, highlight close matches, and compare the athletes’ current standings. Use the published ranking edition to date the comparison.

Sports desk fact-check

Check a draft’s tournament dates, venue, match scores, and ranking claims against the returned records. Confirm which ranking edition the draft cites before approving its standings references.

Deciding-game match analysis

Find matches that reached a deciding game and calculate game margins from their scores. Use current rankings as a separately dated comparison of the competitors.

Questions about WTT match details in VS Code

Can VS Code use WTT match details?

Yes. Add Spiral to VS Code as an MCP server, and VS Code can find and run WTT match details like any built-in tool.

How much does WTT match details cost in VS Code?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your VS Code plan is separate.

Do I need an Alexandria account to use WTT match details in VS Code?

No. Spiral runs WTT match details on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up WTT match details in VS Code?

About two minutes: add the hosted server, then sign in.

Does VS Code wait while WTT match details runs?

WTT match details runs in the background. VS Code starts the run, checks on it and gives you the json when it's ready.

What public table tennis data does this source cover?

The documented coverage includes WTT events, official match results and match cards, plus senior and youth ITTF rankings.

When does ITTF publish new rankings?

From 2026, senior and youth rankings are scheduled for Mondays at 08:00 UTC. That schedule applies to ranking publication, rather than individual match results.

How can I identify a particular ranking edition?

ITTF labels editions with a year, week number, and publication date. For example, its senior ranking index identifies 2026 Week 47 as 16 November 2026.

Does ITTF publish youth doubles rankings too?

Yes. Its youth ranking index separates singles, doubles pairs, and doubles individual lists, with boys’, girls’, and mixed lists where applicable.

Can I reuse WTT archive footage alongside a results report?

The WTT Media Archive requires a license to reproduce, publish, distribute, or resell its content. Those terms concern archive media and do not establish reuse permission for the results data.

Get started

Start using WTT match details in VS Code

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into VS Code:

Set up VS Code

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options