Parse an ISO 8601 duration literal (e.g. 'P1Y6M4DT12H30M5S') into years/months/weeks/days/hours/minutes/seconds, plus an exact total_seconds when no year/month is present.
Free tier eligible — 500 calls/month with a free key from /pricing; x402 pay-per-call above quota.
| Parameter | Type | Required | Description |
|---|---|---|---|
duration | string | required | ISO 8601 duration string, e.g. 'P3Y6M4DT12H30M5S' |
curl -s https://wingmanprotocol.com/mcp \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "iso8601_duration_parse", "arguments": {"duration": "example"}}}'curl -s https://wingmanprotocol.com/tools/iso8601_duration_parse \
-H 'Content-Type: application/json' \
-d '{"duration": "example"}'Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/iso8601_duration_parse from your browser.
X-Payment header, or get a free key at /pricing (500 calls/month, no card, no crypto).