openligadb_last_team_match
Fetch the last played match for a team within a specified league using league ID and team ID. Find those IDs through the OpenLigaDB league and team lookup tools.
Instructions
Get a team's last match in a league. Returns the most recently played match for one team id in one league id. Discover the league id with openligadb_leagues and the team id with openligadb_teams.
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": {
"league_id": "<league_id>",
"team_id": "<team_id>"
},
"name": "openligadb_last_team_match"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| team_id | Yes | OpenLigaDB team id from openligadb_teams | |
| league_id | Yes | OpenLigaDB league id from openligadb_leagues |