Video Monetization
videoManage video monetization (authenticate with your API token sk_...; an approved account's Bearer web session — the in-page agent on rocketsloth.ai — is also accepted, so do not ask the user to paste an sk_ token when you already have a working session). Pass resource and action (e.g. resource=player action=list); call with no action to see what's available. Use resource=embed to get the content-player unit markup () and where video ids come from.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | No | Your API token (sk_...). May instead be sent as an Authorization: Bearer header. | |
| action | No | The action to perform on the resource. Omit to list what's available. | |
| params | No | Optional additional parameters for the action. | |
| resource | No | The resource to act on. Call with no action to discover available resources and actions. |