手动复制 Agent 提示
本地模拟所有展示数据均为虚构样本。真实 API、支付和外部邮件关闭。English ↗
01
直接回答
这个问题可从抖音视频详情的合同和本地样本开始核对。先明确 douyin.videos.get 的输入,再检查 post 对象是否提供任务所需字段。
把输入视作带类型的标识:内容、账号、评论和分享链接不能互换。保留原字符串,不把大整数 ID 转成 JavaScript Number;只有合同明确列出的输入字段才可提交。
02
对应接口与字段
| 能力 | 对象 | 返回形状 | 分页 |
|---|---|---|---|
| douyin.videos.get | 内容 | item | 无游标 |
03
输入合同
按所选方法查看参数含义、示例和条件规则;view 与 fields 控制返回内容,不改变 TEST 单价。
- GET:id / url 必须恰好提供一个。
| 方法 | 字段 | 类型 | 要求 | 含义 | 枚举或边界 | 示例 |
|---|---|---|---|---|---|---|
| GET | id | string | 可选/条件 | Video ID, a string of digits. With only a link or a share text, give it as url | — | "7694940173372575014" |
| GET | url | string | 可选/条件 | Link to the video, pasted as it is: the https://www.douyin.com/video/… web link, a web link with modal_id in it, the page a share opens on a phone, the v.douyin.com short link the app copies, or a whole share text with one of these in it. A short link is opened once to see which video it leads to | — | — |
| GET | view | string | 可选/条件 | How much of each item: compact (the most used fields, long text cut short), standard, or full (adds `ext`). | ["compact","standard","full"] | — |
| GET | fields | array | 可选/条件 | Return only these fields of each item, by path (`author.name`). | maxItems: 64 | — |
04
怎样完成一次核验
先用页面列出的能力运行一条本地演示,核对对象结构;再按问题定义筛选、分类或导出。若需要真实平台结论,本地样本不能替代相应证据。
{
"capability": "douyin.videos.get",
"method": "GET",
"params": {
"id": "7694940173372575014"
}
}输入清楚,结果可查。
每次点击仅运行本机固定样本,不访问平台。高级 JSON 参数按所选方法校验;修改输入不会自动执行。
复制不会运行请求。CLI quote 只读报价,需要本地客户 TEST Key;MCP 需先配置 demo;GET 与批量 POST 均只返回本地虚构样本。
下载合同固定示例(不执行) ↗需要 TEST 预算、Key 权限或失败演练?进入账户控制台。 客户模拟网关 ↗