Skip to main content

Overview

vod_tools (from veadk.tools.builtin_tools.vod import vod_tools) edits and processes video through the Volcengine Video-on-Demand MCP. See the VOD MCP Server.

Environment & prerequisites

Requirements:
  1. Configure Volcengine AK / SK.
  2. (Optional) Choose capability groups via TOOL_VOD_GROUPS: edit, intelligent_slicing, intelligent_matting, subtitle_processing, audio_processing, video_enhancement, upload, video_play. Join multiple with commas; defaults to edit,video_play.
  3. (Optional) TOOL_VOD_TIMEOUT, the connection timeout, defaults to 10 seconds.
  4. The VOD tool cannot create a Space — create a Video Cloud space in the console first.
Environment variables:
  • VOLCENGINE_ACCESS_KEY: Volcengine AccessKey
  • VOLCENGINE_SECRET_KEY: Volcengine SecretKey
  • TOOL_VOD_GROUPS (optional): capability groups
  • TOOL_VOD_TIMEOUT (optional): connection timeout, defaults to 10.0 seconds
Or configure in config.yaml:
config.yaml

Usage

examples/tools/vod/agent.py

Notes

Some video-editing tasks take a while and return a task_id immediately. You can keep asking the agent whether the task is finished to retrieve the result.
Last modified on September 19, 2026