{"openapi":"3.1.0","info":{"title":"sayelf API","version":"2.0.0"},"servers":[{"url":"https://sayelf.app"}],"paths":{"/api/tools":{"get":{"summary":"List tools with JSON Schemas"}},"/api/tools/{name}":{"post":{"summary":"Run a tool (browser session; read-only tools also work anonymously)"}},"/mcp":{"post":{"summary":"MCP JSON-RPC endpoint at https://mcp.sayelf.app/mcp","security":[{"oauth2":[]}]}}},"components":{"securitySchemes":{"oauth2":{"type":"oauth2","flows":{"authorizationCode":{"authorizationUrl":"https://sayelf.app/oauth/authorize","tokenUrl":"https://sayelf.app/oauth/token","refreshUrl":"https://sayelf.app/oauth/token","scopes":{"edu:read":"Rebar weight & concrete volume","cost:read":"BOQ line cost calculator (USD)","machinery:read":"CNC batch cost estimate (USD, educational)","media:draft":"Social card draft","cost:export":"Export settlement (human approval)"}}}}}}}