Loading...
Loading...
Compare original and translation side by side
membranenpm install -g @membranehq/cli@latestmembranenpm install -g @membranehq/cli@latestmembrane login --tenant --clientName=<agentType>membrane login complete <code>--jsonmembrane login --tenant --clientName=<agentType>membrane login complete <code>--jsonmembrane connection ensuremembrane connection ensure "https://www.bigboxapi.com/" --jsonstate: "READY"membrane connection ensuremembrane connection ensure "https://www.bigboxapi.com/" --jsonREADYBUILDINGnpx @membranehq/cli connection get <id> --wait --json--wait--timeoutstateBUILDINGREADYCLIENT_ACTION_REQUIREDclientActionclientAction.type"connect""provide-input"clientAction.descriptionclientAction.uiUrlclientAction.agentInstructionsmembrane connection get <id> --jsonREADYCONFIGURATION_ERRORSETUP_FAILEDerrorBUILDINGnpx @membranehq/cli connection get <id> --wait --json--wait--timeoutBUILDINGREADYCLIENT_ACTION_REQUIREDclientActionclientAction.type"connect""provide-input"clientAction.descriptionclientAction.uiUrlclientAction.agentInstructionsmembrane connection get <id> --jsonREADYCONFIGURATION_ERRORSETUP_FAILEDerrormembrane action list --connectionId=CONNECTION_ID --intent "QUERY" --limit 10 --jsonidnamedescriptioninputSchemaoutputSchemamembrane action list --connectionId=CONNECTION_ID --intent "QUERY" --limit 10 --jsonidnamedescriptioninputSchemaoutputSchema| Name | Key | Description |
|---|---|---|
| Get Account Info | get-account-info | Retrieve account information including API usage, credits remaining, and platform status. |
| List Categories | list-categories | Retrieve Home Depot product categories. |
| Get Category Products | get-category-products | Retrieve products from a specific Home Depot category by category ID. |
| Get Product Questions | get-product-questions | Retrieve customer questions and answers for a product on Home Depot. |
| Get Product Reviews | get-product-reviews | Retrieve customer reviews for a product on Home Depot with optional filtering and sorting. |
| Search Products | search-products | Search for products on Home Depot by search term with optional sorting and price filtering. |
| Get Product Details | get-product-details | Retrieve detailed information about a single product on Home Depot by item ID. |
| 名称 | 标识 | 描述 |
|---|---|---|
| 获取账户信息 | get-account-info | 检索账户信息,包括API使用情况、剩余积分和平台状态。 |
| 列出分类 | list-categories | 检索Home Depot产品分类。 |
| 获取分类产品 | get-category-products | 通过分类ID检索Home Depot特定分类下的产品。 |
| 获取产品问答 | get-product-questions | 检索Home Depot上某款产品的客户问答内容。 |
| 获取产品评论 | get-product-reviews | 检索Home Depot上某款产品的客户评论,支持可选的筛选和排序。 |
| 搜索产品 | search-products | 根据搜索词检索Home Depot上的产品,支持可选的排序和价格筛选。 |
| 获取产品详情 | get-product-details | 通过商品ID检索Home Depot上单个产品的详细信息。 |
membrane action run <actionId> --connectionId=CONNECTION_ID --jsonmembrane action run <actionId> --connectionId=CONNECTION_ID --input '{"key": "value"}' --jsonoutputmembrane action run <actionId> --connectionId=CONNECTION_ID --jsonmembrane action run <actionId> --connectionId=CONNECTION_ID --input '{"key": "value"}' --jsonoutputmembrane request CONNECTION_ID /path/to/endpoint| Flag | Description |
|---|---|
| HTTP method (GET, POST, PUT, PATCH, DELETE). Defaults to GET |
| Add a request header (repeatable), e.g. |
| Request body (string) |
| Shorthand to send a JSON body and set |
| Send the body as-is without any processing |
| Query-string parameter (repeatable), e.g. |
| Path parameter (repeatable), e.g. |
membrane request CONNECTION_ID /path/to/endpoint| 标志 | 描述 |
|---|---|
| HTTP方法(GET、POST、PUT、PATCH、DELETE)。默认值为GET |
| 添加请求头(可重复使用),例如 |
| 请求体(字符串) |
| 简写方式,用于发送JSON请求体并设置 |
| 按原样发送请求体,不进行任何处理 |
| 查询字符串参数(可重复使用),例如 |
| 路径参数(可重复使用),例如 |
membrane action list --intent=QUERYmembrane action list --intent=QUERY