Skip to content

YouTube

Updated View as Markdown

Video, channel, comment, playlist and embed metadata from the official Data API. Read-only; videos are never downloaded.

What you can do (6)

What you can do

Available commands: 6 (6 read, 0 write). Enable only the commands your application needs.

Command Effect
Search videos — youtube.data.search Read
Read playlist — youtube.data.playlistItems Read
Read video details — youtube.data.videos Read
Read channel details — youtube.data.channels Read
Read video comments — youtube.data.commentThreads Read
Read video embed information — youtube.oembed Read

Connect and use

Connect and use

Open the integration's connection form to check the available credential source. The source has not been resolved for this documentation export. The instructions below apply when using your own provider account.

Get your provider credentials

Follow these steps for YouTube, then enter the issued values in the connection form below.

  1. Create or select a Google Cloud project, enable the API for this integration, and create an API key in APIs & Services → Credentials. Restrict the key to that API and configure billing when the provider requires it.

Official credential setup

Where to enter credentials

In the integration page, sign in, choose your workspace and open Connect. If a Credentials choice is shown, select Use my credentials. Fill the following connection fields and save. Provider credentials belong in this form, never in an MCP configuration or tool input.

Connection field Requirement
API Key Required

Open API keys and create a Tooluse.net key for the enabled commands.

Set TOOLUSE_API_KEY in your client and use the shared MCP configuration.

Configure Claude Code, Codex or Cursor once

Permissions and results

If you have more than one workspace, check the selected workspace in the connection or API-key dialog before saving. Roles, enabled commands, expiry and revocation use Tooluse.net's existing permissions. Disabling a connection or revoking a key immediately prevents new calls.

Send one Claude tool_use block per request. Keep the same Idempotency-Key when retrying the same request; use a new key for a new call. The response includes the shared Tooluse.net receipt and Claude tool_result. Check both HTTP status and the returned tool result before treating a call as successful.

Your connection's daily allowance and key permissions also apply. Adding a connection does not make a provider request.

Calls return the shared execution receipt and a Claude tool_result. Provider output varies by operation; consult the provider documentation for its response fields. Unconfirmed calls should be checked before retrying.

Call from your client

Use the shared MCP configuration. Refresh your client's tool list after saving the connection or changing key permissions, then call the returned tool name with the example input below.

Configure Claude Code, Codex or Cursor once

Discover your enabled tools

List permitted tools in Claude format. Read every page using page and size (maximum 100) until all results have been received. Use the returned name, not a catalog capability identifier, in the tool_use block.

curl 'https://api.tooluse.net/v1/tools' \
  -H "Authorization: Bearer $TOOLUSE_API_KEY"

Find this command in the tool list permitted by your key. Replace svc_FROM_YOUR_TOOL_LIST with its returned name. Use a new Idempotency-Key for each new call and retain it when retrying that same call.

HTTP call

curl 'https://api.tooluse.net/v1/tool-calls' \
  -H "Authorization: Bearer $TOOLUSE_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Idempotency-Key: replace-with-a-new-call-id' \
  --data '{
  "type": "tool_use",
  "id": "toolu_example",
  "name": "svc_FROM_YOUR_TOOL_LIST",
  "input": {
    "query": {
      "part": "snippet",
      "q": "Kestra",
      "type": "video",
      "maxResults": 5
    }
  }
}'

Send one Claude tool_use block per request. Keep the same Idempotency-Key when retrying the same request; use a new key for a new call. The response includes the shared Tooluse.net receipt and Claude tool_result. Check both HTTP status and the returned tool result before treating a call as successful.

Commands

Read playlist — youtube.data.playlistItems

Run Read playlist with YouTube. This is a read command; it does not grant access beyond the connected account's permissions.

This is a read operation. Provider rate limits and data access rules still apply.

Connect and use

Parameters

Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.

Parameter Type Required in parent Description Constraints
query object Required additionalProperties: false
query.part string Required Response fields enum: ["snippet"]
query.playlistId string Required Video, playlist or channel ID minLength: 1; maxLength: 240
query.maxResults integer Required Return count minimum: 1; maximum: 20
query.pageToken string Optional Next page cursor minLength: 1; maxLength: 2000

Full JSON Schema

Full JSON Schema

Example input

{
  "query": {
    "part": "snippet",
    "playlistId": "PL590L5WQmH8eCxu4NCcYVD4rzK5z5jr_W",
    "maxResults": 5
  }
}

At most 1 provider requests per invocation; timeout: 60 seconds.

Read video details — youtube.data.videos

Run Read video details with YouTube. This is a read command; it does not grant access beyond the connected account's permissions.

This is a read operation. Provider rate limits and data access rules still apply.

Connect and use

Parameters

Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.

Parameter Type Required in parent Description Constraints
query object Required additionalProperties: false
query.part string Required Response fields enum: ["snippet"]
query.id string Required Video, playlist or channel ID minLength: 1; maxLength: 240
query.maxResults integer Required Return count minimum: 1; maximum: 20
query.pageToken string Optional Next page cursor minLength: 1; maxLength: 2000

Full JSON Schema

Full JSON Schema

Example input

{
  "query": {
    "part": "snippet",
    "id": "dQw4w9WgXcQ",
    "maxResults": 5
  }
}

At most 1 provider requests per invocation; timeout: 60 seconds.

Read channel details — youtube.data.channels

Run Read channel details with YouTube. This is a read command; it does not grant access beyond the connected account's permissions.

This is a read operation. Provider rate limits and data access rules still apply.

Connect and use

Parameters

Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.

Parameter Type Required in parent Description Constraints
query object Required additionalProperties: false
query.part string Required Response fields enum: ["snippet"]
query.id string Required Video, playlist or channel ID minLength: 1; maxLength: 240
query.maxResults integer Required Return count minimum: 1; maximum: 20
query.pageToken string Optional Next page cursor minLength: 1; maxLength: 2000

Full JSON Schema

Full JSON Schema

Example input

{
  "query": {
    "part": "snippet",
    "id": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
    "maxResults": 5
  }
}

At most 1 provider requests per invocation; timeout: 60 seconds.

Read video comments — youtube.data.commentThreads

Run Read video comments with YouTube. This is a read command; it does not grant access beyond the connected account's permissions.

This is a read operation. Provider rate limits and data access rules still apply.

Connect and use

Parameters

Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.

Parameter Type Required in parent Description Constraints
query object Required additionalProperties: false
query.part string Required Response fields enum: ["snippet"]
query.videoId string Required Video, playlist or channel ID minLength: 1; maxLength: 240
query.maxResults integer Required Return count minimum: 1; maximum: 20
query.pageToken string Optional Next page cursor minLength: 1; maxLength: 2000

Full JSON Schema

Full JSON Schema

Example input

{
  "query": {
    "part": "snippet",
    "videoId": "dQw4w9WgXcQ",
    "maxResults": 5
  }
}

At most 1 provider requests per invocation; timeout: 60 seconds.

Read video embed information — youtube.oembed

Run Read video embed information with YouTube. This is a read command; it does not grant access beyond the connected account's permissions.

This is a read operation. Provider rate limits and data access rules still apply.

Connect and use

Parameters

Requiredness is local to the containing object. A required child is required only when its parent object or array item is provided. Alternative schemas are identified in the Constraints column; the linked full JSON Schema is authoritative.

Parameter Type Required in parent Description Constraints
query object Required additionalProperties: false
query.url string Required YouTube video URL minLength: 1; maxLength: 2048; pattern: "^https://(?:www\\.)?youtube\\.com/watch\\?v=[A-Za-z0-9_-]{11}$"
query.format string Required Response format enum: ["json"]

Full JSON Schema

Full JSON Schema

Example input

{
  "query": {
    "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
    "format": "json"
  }
}

At most 1 provider requests per invocation; timeout: 60 seconds.

Errors

Check the key's expiry, revocation, workspace and allowed operations.

Reuse the same idempotency key only for the same request.

The connection or provider limit has been reached. Check the receipt before retrying.

Test the connection

Open the integration's commands below to inspect parameters and examples. Start with a read command for an account or resource you can access. Refresh your client's tool list, use the returned tool name, and check the execution result and usage. Provider charges and permissions still apply. Never test a write against production data without reviewing it.

Official provider documentation

Type to search…

↑↓ navigate↵ selectEsc close