cricket_build_dream11_team
Build an optimal fantasy XI, captain, and vice-captain for a cricket fixture using projected points. Provide match ID or team names and venue.
Instructions
Recommend an optimal fantasy XI + captain + vice-captain for one fixture.
Args:
match_id: CricAPI match identifier; resolves team_a/team_b/venue automatically.
team_a: First team code/name (e.g. MI). Required if match_id is absent.
team_b: Second team code/name (e.g. CSK). Required if match_id is absent.
venue: Venue key/name (e.g. wankhede). Required if match_id is absent.
strategy: "balanced" only in Phase 2; future variants reserved.
Returns: data.players: 11 picked players with name/role/credits/team/projected_points. data.captain: name of the chosen captain. data.vice_captain: name of the chosen VC. data.total_credits: sum of credits used (<= 100). data.total_projected_points: fantasy points including C x2 and VC x1.5 boosts. meta.estimated: true — projections are model output, not a fantasy oracle.
Example: cricket_build_dream11_team(team_a="MI", team_b="CSK", venue="wankhede") cricket_build_dream11_team(match_id="abc123")
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| venue | No | Venue key/name (e.g. ``wankhede``). Required if match_id is absent. | |
| team_a | No | First team code/name (e.g. ``MI``). Required if match_id is absent. | |
| team_b | No | Second team code/name (e.g. ``CSK``). Required if match_id is absent. | |
| match_id | No | CricAPI match identifier; resolves team_a/team_b/venue automatically. | |
| strategy | No | ``"balanced"`` only in Phase 2; future variants reserved. | balanced |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| meta | No | ||
| error | No |