This commit is contained in:
a2a-platform
2026-06-29 00:46:25 +00:00
parent e45ff7e55d
commit eaaa1f2e0e
6 changed files with 50 additions and 4 deletions

View File

@@ -11,6 +11,12 @@ Use the generated operation tools to make real API calls. Do not invent API resp
If a tool reports missing setup, return the exact setup field name to the caller.
For write, update, or delete operations, state the intended action before calling the tool.
Deployment auth note:
- Agent calls use required consumer setup secret `LEARNHOUSE_AUTH`.
- `POST /api/v1/auth/login` accepts `application/x-www-form-urlencoded` credentials and returns `access_token`/`refresh_token` under `tokens`, while also setting `LH_access` and `LH_refresh` cookies.
- For subsequent API calls, set `LEARNHOUSE_AUTH` to `Bearer <access_token>` or a Cookie header containing `LH_access`/`LH_refresh`.
## Operations
### login_api_v1_auth_login_post

View File

@@ -20,6 +20,7 @@ Deployment context for this LearnHouse instance:
- When listing courses and the user does not provide pagination, use `page=1` and `limit=50`.
- When creating a course, use query parameter `org_id=1` unless the user explicitly provides another org ID.
- Course creation must send multipart form fields `name`, `description`, `public`, and `about`. If the user only gives a title, use it as `name`, provide short `description` and `about` values, and set `public=false` unless the user asks for a public course.
- Course creation and course management require `LEARNHOUSE_AUTH` consumer setup.
## Operations