Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
RAP2_SID | No | Logged-in Cookie SID (koa.sid value) | |
RAP2_EMAIL | No | Login email (used with password authentication) | |
RAP2_SID_SIG | No | Logged-in Cookie signature (koa.sid.sig value) | |
RAP2_BASE_URL | No | RAP2 instance address | |
RAP2_PASSWORD | No | Login password (used with email authentication) |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
rap2_test_connection | 测试连接并校验会话:探测 /repository/joined,必要时自动登录后再探测(可用提示:"测试rap连接"、"确保已登录") |
rap2_ensure_session | 使用环境参数登录并保存 Cookie 到会话缓存 |
rap2_debug_login_info | 调试当前登录环境配置(不返回明文密码) |
rap2_get_interface_by_id | 根据接口 ID 获取接口详情 |
rap2_get_repository_interfaces | 获取仓库下的全部接口列表 |
rap2_search_interfaces_by_keyword | 按关键字搜索接口(可选限定仓库) |
rap2_search_interfaces_by_path | 按请求路径搜索接口(可选限定仓库) |