> ## Documentation Index
> Fetch the complete documentation index at: https://docs.clawdot.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# retail_authorize

> 查或发起授权

查或发起授权。查或发起这个用户在 retail 的授权。status 只查；start 没授权时发起（没带手机号先要手机号，带了回授权链接）。

## 工具说明（与线上 tools/list 同源）

```text theme={null}
先调 create_task 拿 task_id，再带着它调本工具。
查或发起这个用户在 retail 的授权。status 只查；start 没授权时发起（没带手机号先要手机号，带了回授权链接）。授权完成后回这个 task 的 get_task，按 next_action 往下走。任何状态的 task 都能调，不推进 task、不计费。
```

## 参数

| 字段 | 类型 | 必填 | 说明 |
| - | - | - | - |
| `task_id` | string | 是 | create\_task 返回的 task\_id |
| `action` | string | 是 | 取值：status / start；各动作做什么见上面的说明。 |
| `context` | object | 否 | phone 只在 start 时带：\{"phone": "\<用户的手机号>"}；只用来发起授权，不保存 |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.