player_form
Tennis player form: W/L record over the last N completed matches, current win/loss streak, and per-match rows (opponent, score, surface). Optional surface filter (Hard/Clay/Grass).
When to use:
"How is X playing lately?"; current streak; surface-specific record (e.g. clay last 5).
Prefer over: player_profile (identity + career aggregates, no streak); raw form via call_api for agent-normalized rows.
Do not use when: career totals/titles → player_profile with game tennis (wires /stats); ranking deltas → rankings_movers.
Tennis-only. Limit defaults to 10 (max 50, matching the API). Upstream rows arrive newest-first; the streak is the leading run of that order.
Parallel-safe: yes. Upstream cost: 1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| game | Yes | Game title: lol | cs2 | dota2 | cod | ufc | tennis. Example: "cs2". | |
| limit | No | Recent-match window (default 10, max 50). | |
| surface | No | Filter to one surface: Hard, Clay, or Grass. | |
| playerId | Yes | Tennis player id, e.g. "atp_207989". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | true if the tool succeeded | |
| data | No | Result payload when ok is true; null on error | |
| meta | Yes | ||
| error | No | ||
| partial | No | ||
| pagination | No |