apply visual program
native.apply_visual_programApply an ordered finish to an exact picture, or place a generated clip/overlay at that picture. Supply the current expected_spec_hash. placement defaults to finish; clip/overlay takes one corresponding instance (id, role and its pinned revision reference; version, enabled, seed, clock, assets and params default) and duration_seconds. Clip position before/after defaults to before and ripples the cut. material applies glyph effects to an exact native text overlay item_id. Empty finish/material clears its stack. Empty programs with placement clip or overlay and item_id the placed generated clip's or overlay's own id takes it off the cut.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"work_id": "<work_id>",
"arguments": "<arguments>",
"expected_catalog_version": "<expected_catalog_version>",
"read_skills": "<read_skills>",
"request_key": "<request_key>"
},
"name": "native.apply_visual_program"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| work_id | Yes | ||
| arguments | Yes | ||
| read_skills | Yes | Exact required native skills and their dependencies, copied from the accepted session bootstrap's skills array. Include only entries in that array. General mcp.* guides and native.{studio}.instructions are guidance, not native skill proofs. | |
| request_key | Yes | ||
| publication_proposal_id | No | For native Social scheduling, the exact server-approved publication proposal. This identifier cannot confer approval by itself. | |
| expected_catalog_version | Yes | For a new session, read a studios/{studio}/native/{pack} child toolset and copy invocation.catalog_version from a native tool descriptor. Do not use the top-level library version. For calls in an existing session, use that session proposal's catalog_version. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||