{"openapi":"3.1.0","info":{"title":"Syllable Build API","version":"0.1.0","description":"A fully local, stateless build-a-word-from-syllables game — scramble a curated word's syllables, validate the player's assembly, give hints, or show the definition.\n\nEvery operation is read-only or compute-only. The same tools are available over MCP (streamable HTTP) at https://syllablebuild.connectorbay.com/mcp.","contact":{"name":"Unify Dynamics LLC","email":"hr@unifydynamics.com","url":"https://connectorbay.com/syllablebuild/docs"},"termsOfService":"https://connectorbay.com/syllablebuild/terms"},"servers":[{"url":"https://syllablebuild.connectorbay.com"}],"externalDocs":{"url":"https://connectorbay.com/syllablebuild/docs"},"security":[{},{"bearer":[]}],"components":{"securitySchemes":{"bearer":{"type":"http","scheme":"bearer","description":"Optional. A Pro API key raises rate limits; no credentials are required."}},"schemas":{"Error":{"type":"object","properties":{"ok":{"const":false},"error":{"type":"object"}}}}},"paths":{"/v1/tools/new_puzzle":{"post":{"operationId":"new_puzzle","summary":"Picks a curated word and scrambles its syllable fragments. Use for \"let's build a word from syllables\",","description":"Picks a curated word and scrambles its syllable fragments. Use for \"let's build a word from syllables\",\n    \"give me a medium puzzle\", \"make a puzzle from 'elephant'\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"tier":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"\"easy\", \"medium\", or \"hard\". Omit for any tier.","title":"Tier"},"word":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"A specific word to build a puzzle from, instead of a random pick.","title":"Word"},"seed":{"anyOf":[{"type":"integer"},{"type":"null"}],"default":null,"description":"Optional RNG seed for a reproducible scramble/pick.","title":"Seed"}},"title":"new_puzzleArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/submit_arrangement":{"post":{"operationId":"submit_arrangement","summary":"Checks whether the reordered fragments spell a recognized word. Use for \"I think it's com-pu-ter\".","description":"Checks whether the reordered fragments spell a recognized word. Use for \"I think it's com-pu-ter\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"state":{"additionalProperties":true,"description":"The full game state object as previously returned by new_puzzle or a gameplay tool. Pass it back unmodified except through this API.","title":"State","type":"object"},"ordering":{"description":"The scrambled syllable fragments (from state.syllables_scrambled) rearranged into your proposed word order.","items":{"type":"string"},"minItems":1,"title":"Ordering","type":"array"}},"required":["state","ordering"],"title":"submit_arrangementArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/get_hint":{"post":{"operationId":"get_hint","summary":"Reveals a partial clue at the cost of some score. Use for \"give me a hint\", \"what does the word mean\".","description":"Reveals a partial clue at the cost of some score. Use for \"give me a hint\", \"what does the word mean\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"state":{"additionalProperties":true,"description":"The full game state object as previously returned by new_puzzle or a gameplay tool. Pass it back unmodified except through this API.","title":"State","type":"object"},"hint_type":{"default":"position","description":"\"position\" reveals one syllable's correct position; \"definition\" reveals the word's definition.","title":"Hint Type","type":"string"}},"required":["state"],"title":"get_hintArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/render_puzzle":{"post":{"operationId":"render_puzzle","summary":"Plain-text view of the current puzzle: scrambled fragments, attempts, hints used, and the answer once","description":"Plain-text view of the current puzzle: scrambled fragments, attempts, hints used, and the answer once\n    solved. Use for \"show me the puzzle\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"state":{"additionalProperties":true,"description":"The full game state object as previously returned by new_puzzle or a gameplay tool. Pass it back unmodified except through this API.","title":"State","type":"object"}},"required":["state"],"title":"render_puzzleArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}},"/v1/tools/tier_list":{"post":{"operationId":"tier_list","summary":"Lists the difficulty tiers and how many words each has. Use for \"what difficulty levels are there\".","description":"Lists the difficulty tiers and how many words each has. Use for \"what difficulty levels are there\".","tags":["tools"],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{},"title":"tier_listArguments","type":"object"}}}},"responses":{"200":{"description":"Tool result. `ok: true` on success; `ok: false` with a structured `error` (provider_unavailable, upstream_error, bad_input) when the tool could not answer.","content":{"application/json":{"schema":{"type":"object","additionalProperties":true}}}},"422":{"description":"Arguments failed validation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Rate limit exceeded (see Retry-After)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"x-read-only":true}}}}