set_target_frame
Restrict an AI agent’s edits to specific Figma frames by setting their IDs, preventing unintended changes outside the chosen target area.
Instructions
Sets the target frame(s) that the agent is allowed to modify.
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": "set_target_frame"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frameId | No | ||
| frameIds | No |