# query_video_task

查询豆包视频生成任务的状态和结果 视频生成是异步任务，需要使用此工具查询任务状态: - pending: 任务等待中 - processing: 任务处理中 - success: 任务成功完成 - failed: 任务失败 参数说明: - task_id: 任务 ID (必需，由 generate_video 返回) 返回: 任务状态和结果 (成功时包含视频下载 URL)

Agent View of the PolicyLayer registry record for `query_video_task`. HTML page: https://policylayer.com/tools/156554395-doubao-image-video-mcp/query-video-task

## Facts

- Tool: `query_video_task`
- Server: Doubao Image/Video Generation MCP Server (`156554395/doubao-image-video-mcp`) — https://policylayer.com/tools/156554395-doubao-image-video-mcp.md
- Homepage: https://github.com/156554395/doubao-image-video-mcp
- Risk category: Read (Low risk)
- Registry record: grade B, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "query_video_task",
    "arguments": {}
  }
}
```

## Why query_video_task is rated Low

This is a polling/status-check tool that retrieves information about an async video generation task. It performs a read-only query operation with no side effects. While the underlying video generation action (generate_video) is an Execute tool, this specific tool only retrieves status—making it a Read operation. Severity is low because querying task status has minimal blast radius even if misused by an agent.

From the tool's own definition: "Tool queries task status and results ('查询任务状态和结果'). Returns status information (pending, processing, success, failed) and video download URL on success. No data modification, deletion, or side effects."

## Use case

AI agents call query_video_task to retrieve information from Doubao Image/Video Generation MCP Server without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Doubao Image/Video Generation MCP Server:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "query_video_task": {}
  }
}
```

## Other tools on Doubao Image/Video Generation MCP Server (2)

- `generate_video` — Execute — https://policylayer.com/tools/156554395-doubao-image-video-mcp/generate-video.md
- `generate_image` — Write — https://policylayer.com/tools/156554395-doubao-image-video-mcp/generate-image.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=156554395-doubao-image-video-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/156554395-doubao-image-video-mcp
