split_segment
Split a segment at the given time offsets (ms, 1-3 cuts → 2-4 parts). inherit_index picks which resulting part keeps the original creative data. Later segments renumber — re-check get_segments before further edits.
This record as markdown: /tools/com-framesail-framesail/split-segment.md
What split_segment does on Framesail
AI agents use split_segment to create or update resources in Framesail, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Framesail environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
offsets_ms | array | Yes | Cut points as millisecond offsets from the segment start, ascending; 1-3 cuts producing 2-4 parts |
project_id | string | Yes | Project ID, as returned by create_project or list_projects |
inherit_index | integer | — | 0-based index of the resulting part that keeps the original creative data (default: the first part) |
segment_number | integer | Yes | 1-based number of the segment to split, as reported by get_segments |
Parameters from the server's own tool schema.
Why split_segment is rated Medium
The tool creates a reversible structural modification to video segments by splitting them at specified timestamps and redistributing creative data and indices. This is a write operation because it modifies existing data structure (segment splitting and renumbering) without permanently deleting content. The change is reversible through recombination or undo.
From the tool's definition Tool description states it performs splitting operations that modify segment structure ('Split a segment at the given time offsets', 'inherit_index picks which resulting part keeps the original creative data', 'Later segments renumber').
Attacks that exploit this kind of access
The rule that runs split_segment safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Framesail, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For split_segment, this is the rule to start with:
split_segment stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Framesail, apply this rule, and every split_segment call is checked against it from then on.
Questions about split_segment
Split a segment at the given time offsets (ms, 1-3 cuts → 2-4 parts). inherit_index picks which resulting part keeps the original creative data. Later segments renumber — re-check get_segments before further edits. It is categorised as a Write tool in the Framesail MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
split_segment accepts 4 parameters: offsets_ms, project_id, inherit_index, segment_number. Required: offsets_ms, project_id, segment_number. The full parameter table on this page comes from the server's own tool schema.
Register the Framesail MCP server in PolicyLayer and add a rule for split_segment: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Framesail. Nothing to install.
split_segment is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the split_segment rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for split_segment. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
split_segment is provided by the Framesail MCP server (https://api.framesail.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Framesail, and thousands of servers like it.
This server
Across the catalogue