YouTube
综合搜索 V2
按类型、排序、时长、特征和上传日期筛选搜索内容。

得到的结果
按类型、排序、时长、特征和上传日期筛选搜索内容。
从你的任务开始
综合搜索V2
按类型、排序、时长、特征和上传日期筛选搜索内容。
按确认的实际用量结算,未使用的预留额度会恢复到可用余额。
YouTube
按类型、排序、时长、特征和上传日期筛选搜索内容。

按类型、排序、时长、特征和上传日期筛选搜索内容。
综合搜索V2
开始前检查当前输入要求、可用状态和最高预留费用。
| 字段 / 路径 | 类型 | 是否必填 | 含义 |
|---|---|---|---|
queryParamsqueryParams | object | 选填 | |
typequeryParams.type | string | null | 选填 | 内容类型筛选。 |
keywordqueryParams.keyword | string | null | 选填 | 搜索关键词,首次请求必填。
|
sort_byqueryParams.sort_by | string | null | 选填 | 排序方式。 |
durationqueryParams.duration | string | null | 选填 | 时长筛选:short(少于 4 分钟)、medium(4-20 分钟)或 long(超过 20 分钟)。 |
featuresqueryParams.features | string | null | 选填 | 特征筛选,使用逗号分隔:live、4k、hd、subtitles、creative_commons、360、vr180、3d 或 hdr。 |
upload_datequeryParams.upload_date | string | null | 选填 | 上传日期筛选。 |
continuation_tokenqueryParams.continuation_token | string | null | 选填 | 下一页使用的续传令牌。 |
{
"type": "object",
"required": [],
"properties": {
"queryParams": {
"type": "object",
"properties": {
"type": {
"anyOf": [
{
"enum": [
"video",
"channel",
"playlist",
"movie"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Type",
"description": "内容类型筛选。"
},
"keyword": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
],
"title": "Keyword",
"examples": [
"Python tutorial"
],
"description": "搜索关键词,首次请求必填。"
},
"sort_by": {
"anyOf": [
{
"enum": [
"relevance",
"upload_date",
"view_count",
"rating"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Sort By",
"description": "排序方式。"
},
"duration": {
"anyOf": [
{
"enum": [
"short",
"medium",
"long"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Duration",
"description": "时长筛选:short(少于 4 分钟)、medium(4-20 分钟)或 long(超过 20 分钟)。"
},
"features": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Features",
"description": "特征筛选,使用逗号分隔:live、4k、hd、subtitles、creative_commons、360、vr180、3d 或 hdr。"
},
"upload_date": {
"anyOf": [
{
"enum": [
"last_hour",
"today",
"this_week",
"this_month",
"this_year"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Upload Date",
"description": "上传日期筛选。"
},
"continuation_token": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Continuation Token",
"description": "下一页使用的续传令牌。"
}
},
"additionalProperties": true
}
},
"additionalProperties": false
}暂未配置返回字段说明。

告诉智能体你想完成什么,以及需要遵守哪些要求。
综合搜索V2

我会先查看这个工具,确认输入、当前费用和你的执行授权,再发起调用。得到结果后,我会解释内容和适用范围。
