{"uid":"cap__3LZTr1HcNTY7GzYA7q7w","slug":"foundry-calendar-month-layout-bf239efc","name":"Foundry Calendar Month Layout","description":"Calendar: the days of any month laid out by week, with month length and first weekday. Input: 'YYYY-MM'.","url":"https://minty-sprout.onrender.com/v1/calendar?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","maxLength":8000,"description":"A month as YYYY-MM"}}},"responseSchema":{"type":"json","example":{"days":30,"text":"   November 2026\nMo Tu We Th Fr Sa Su\n                   1\n 2  3  4  5  6  7  8\n 9 10 11 12 13 14 15\n16 17 18 19 20 21 22\n23 24 25 26 27 28 29\n30\n","year":2026,"month":11,"weeks":[[0,0,0],[2,3,4],[9,10,11]],"month_name":"November","first_weekday":"Sunday"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_pn3JnSyuNsK1YdVE18trP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a calendar layout for any given month, including the days arranged by week, month length, and first weekday.","exampleAgentPrompt":"Can you show me a calendar layout for November 2026, with the days arranged by week?","exampleUseCases":[{"title":"Monthly schedule planning view","prompt":"Show me a full calendar grid for March 2025 so I can see how the weeks fall and plan my schedule."},{"title":"Event date alignment check","prompt":"What day of the week does February 2027 start on, and how are the days arranged by week?"},{"title":"Automated report date headers","prompt":"Generate the calendar layout for January 2026 — I need the week-by-week breakdown and the total number of days in the month."}],"resultDescription":"A JSON object containing a formatted text calendar grid (suitable for display), the number of days in the month, the year, month number, month name, first weekday, and a weeks array showing how dates are grouped into weekly rows.","failureModes":["Invalid or malformed YYYY-MM input returns an error","Future or historical dates outside supported range may fail","Missing input field causes a validation error","Non-string input type rejected"],"whenToPreferThis":"Use this endpoint when you need a structured, pre-formatted month calendar layout — including week groupings, first weekday, and month length — without doing the date arithmetic yourself. Ideal for agents that need to display or reason about month layouts for scheduling, reporting, or UI generation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:57:40.636Z","isFirstParty":false,"canonicalSlug":"foundry-calendar-month-layout-bf239efc"}