{"app":{"id":"folio","llms_txt":"/llms.txt","origin":"https://folio.aweb.ai","skills":"/skills/","version":"0.1.0"},"event_emitters":[{"did_key":"did:key:z6MkhddL2VEzVjKeh36xFg4ULcfWN4Q9VgK6oQ3mdCNJEPWv","kid":"folio:emit-1"}],"events":[{"default_delivery_intent":"wake","description":"A document gained a new version. resource_ref is the document slug; core exact-matches it against a subscription. Payload is metadata only (version, edit source) — never the document body.","type":"folio/doc.changed"}],"manifest_version":1,"tools":[{"body":{"mode":"json"},"description":"Create a document from raw markdown or a declarative template.","input_schema":{"properties":{"body":{"type":"string"},"slug":{"type":"string"},"template":{"type":"object"},"title":{"type":"string"}},"required":["slug","title"],"type":"object"},"method":"POST","mutation":true,"name":"create","params":[{"in":"body","name":"slug"},{"in":"body","name":"title"},{"in":"body","name":"body"},{"in":"body","name":"template"}],"path":"/v1/documents","scopes":["folio:write"]},{"description":"List the team's documents.","input_schema":{"properties":{},"type":"object"},"method":"GET","mutation":false,"name":"list","params":[],"path":"/v1/documents","scopes":["folio:read"]},{"description":"Show a document with its current version body.","input_schema":{"properties":{"slug":{"type":"string"}},"required":["slug"],"type":"object"},"method":"GET","mutation":false,"name":"show","params":[{"in":"path","name":"slug"}],"path":"/v1/documents/{slug}","scopes":["folio:read"]},{"description":"List a document's version history.","input_schema":{"properties":{"slug":{"type":"string"}},"required":["slug"],"type":"object"},"method":"GET","mutation":false,"name":"versions","params":[{"in":"path","name":"slug"}],"path":"/v1/documents/{slug}/versions","scopes":["folio:read"]},{"body":{"content_type":"text/markdown; charset=utf-8","mode":"raw","raw_param":"body"},"description":"Append a new version from raw UTF-8 markdown.","input_schema":{"properties":{"body":{"type":"string"},"slug":{"type":"string"}},"required":["slug","body"],"type":"object"},"method":"POST","mutation":true,"name":"append","params":[{"in":"path","name":"slug"},{"in":"body","name":"body"}],"path":"/v1/documents/{slug}/versions","scopes":["folio:write"]},{"body":{"mode":"json"},"description":"Append a new version rendered from a declarative template.","input_schema":{"properties":{"name":{"type":"string"},"slots":{"type":"object"},"slug":{"type":"string"}},"required":["slug","name"],"type":"object"},"method":"POST","mutation":true,"name":"append-template","params":[{"in":"path","name":"slug"},{"in":"body","name":"name"},{"in":"body","name":"slots"}],"path":"/v1/documents/{slug}/versions/template","scopes":["folio:write"]},{"body":{"mode":"json"},"description":"Mint a present link for a document version.","input_schema":{"properties":{"editable":{"type":"boolean"},"slug":{"type":"string"},"ttl_seconds":{"type":"integer"},"version":{"type":"integer"}},"required":["slug"],"type":"object"},"method":"POST","mutation":true,"name":"present","params":[{"in":"body","name":"slug"},{"in":"body","name":"version"},{"in":"body","name":"ttl_seconds"},{"in":"body","name":"editable"}],"path":"/v1/present","scopes":["folio:write"]},{"description":"Revoke a present link.","input_schema":{"properties":{"token":{"type":"string"}},"required":["token"],"type":"object"},"method":"POST","mutation":true,"name":"revoke","params":[{"in":"path","name":"token"}],"path":"/v1/present/{token}/revoke","scopes":["folio:write"]},{"description":"Get the team's presentation theme.","input_schema":{"properties":{},"type":"object"},"method":"GET","mutation":false,"name":"theme-get","params":[],"path":"/v1/theme","scopes":["folio:read"]},{"body":{"mode":"json"},"description":"Set the team's presentation theme.","input_schema":{"properties":{"clear_logo":{"type":"boolean"},"footer":{"type":"string"},"header":{"type":"string"},"logo":{"type":"object"},"preset":{"type":"string"},"tokens":{"type":"object"}},"type":"object"},"method":"PUT","mutation":true,"name":"theme-set","params":[{"in":"body","name":"tokens"},{"in":"body","name":"preset"},{"in":"body","name":"logo"},{"in":"body","name":"clear_logo"},{"in":"body","name":"header"},{"in":"body","name":"footer"}],"path":"/v1/theme","scopes":["folio:write"]},{"body":{"mode":"json"},"description":"Upload a base64-encoded image asset.","input_schema":{"properties":{"content_type":{"type":"string"},"data_base64":{"type":"string"}},"required":["content_type","data_base64"],"type":"object"},"method":"POST","mutation":true,"name":"asset-image","params":[{"in":"body","name":"content_type"},{"in":"body","name":"data_base64"}],"path":"/v1/assets","scopes":["folio:write"]},{"body":{"mode":"json"},"description":"Request a direct-upload URL for a video asset.","input_schema":{"properties":{"content_type":{"type":"string"},"filename":{"type":"string"},"max_duration_seconds":{"type":"integer"}},"required":["content_type"],"type":"object"},"method":"POST","mutation":true,"name":"asset-video","params":[{"in":"body","name":"content_type"},{"in":"body","name":"filename"},{"in":"body","name":"max_duration_seconds"}],"path":"/v1/assets/video/direct-upload","scopes":["folio:write"]},{"description":"Get an asset's metadata.","input_schema":{"properties":{"asset_id":{"type":"string"}},"required":["asset_id"],"type":"object"},"method":"GET","mutation":false,"name":"asset-get","params":[{"in":"path","name":"asset_id"}],"path":"/v1/assets/{asset_id}","scopes":["folio:read"]},{"description":"Get the team's billing tier, caps, and usage.","input_schema":{"properties":{},"type":"object"},"method":"GET","mutation":false,"name":"billing","params":[],"path":"/v1/billing","scopes":["folio:read"]}]}