mt_fantasy_commit
Commit a fantasy lineup with a SHA-256 hash anchored on Base L2.
Creates a FantasyLineupCredential (W3C VC) proving the lineup was
locked before contest start. The commitment hash is tamper-proof.
Args:
agent_did: Agent DID (e.g. "did:moltrust:a1b2c3d4e5f67890")
contest_id: Unique contest identifier (e.g. "dk-nfl-sun-main-2026w12")
platform: Platform name: draftkings, fanduel, yahoo, sleeper, custom
sport: Sport type: nfl, nba, mlb, nhl, pga, nascar, soccer, custom
contest_start_iso: Contest start time in ISO 8601 (must be in the future)
lineup_json: JSON string of lineup object (e.g. '{"QB":"Mahomes","RB1":"Henry"}')
projected_score: Agent's projected score for this lineup
confidence: Confidence level 0.0 to 1.0
entry_fee_usd: Contest entry fee in USD
contest_type: Contest type (e.g. "classic", "showdown")
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": {
"agent_did": "<agent_did>",
"contest_id": "<contest_id>",
"platform": "<platform>",
"sport": "<sport>",
"contest_start_iso": "<contest_start_iso>",
"lineup_json": "<lineup_json>"
},
"name": "mt_fantasy_commit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sport | Yes | Sport type: nfl, nba, mlb, nhl, pga, nascar, soccer, custom | |
| platform | Yes | Platform name: draftkings, fanduel, yahoo, sleeper, custom | |
| agent_did | Yes | Agent DID (e.g. "did:moltrust:a1b2c3d4e5f67890") | |
| confidence | No | Confidence level 0.0 to 1.0 | |
| contest_id | Yes | Unique contest identifier (e.g. "dk-nfl-sun-main-2026w12") | |
| lineup_json | Yes | JSON string of lineup object (e.g. '{"QB":"Mahomes","RB1":"Henry"}') | |
| contest_type | No | Contest type (e.g. "classic", "showdown") | classic |
| entry_fee_usd | No | Contest entry fee in USD | |
| projected_score | No | Agent's projected score for this lineup | |
| contest_start_iso | Yes | Contest start time in ISO 8601 (must be in the future) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |