# set_session_loop

Set loop on/off and optional loop region (start beat, length in beats).

Agent View of the PolicyLayer registry record for `set_session_loop`. HTML page: https://policylayer.com/tools/io-github-dreamrec-livepilot/set-session-loop

## Facts

- Tool: `set_session_loop`
- Server: Livepilot (`livepilot`) — https://policylayer.com/tools/io-github-dreamrec-livepilot.md
- Install: `npx -y livepilot`
- Homepage: https://github.com/dreamrec/LivePilot
- Risk category: Write (Medium risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Rate-limited

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

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

## Why set_session_loop is rated Medium

This tool writes/updates playback loop settings (enabled state and region boundaries) in Ableton Live. It is reversible (loop can be toggled back or region changed), has no destructive or financial implications, and its blast radius is minimal — at worst it disrupts a loop region during a session.

From the tool's own definition: "'Set loop on/off and optional loop region (start beat, length in beats)' — modifies loop state and region parameters"

## Use case

AI agents use set_session_loop to create or update resources in Livepilot, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Livepilot environment.

## Recommended policy (PolicyLayer)

Verdict: **Rate-limited**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Livepilot:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "set_session_loop": {
      "limits": [
        {
          "counter": "set_session_loop_rate",
          "window": "minute",
          "max": 30,
          "scope": "grant"
        }
      ]
    }
  }
}
```

## Other tools on Livepilot (473)

- `clear_clip_automation` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/clear-clip-automation.md
- `clear_simpler_slices` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/clear-simpler-slices.md
- `corpus_remove_source` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/corpus-remove-source.md
- `delete_clip` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/delete-clip.md
- `delete_device` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/delete-device.md
- `delete_rack_variation` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/delete-rack-variation.md
- `delete_scene` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/delete-scene.md
- `delete_track` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/delete-track.md
- `discard_experiment` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/discard-experiment.md
- `discard_preview_set` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/discard-preview-set.md
- `discard_wonder_session` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/discard-wonder-session.md
- `flatten_track` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/flatten-track.md
- `force_arrangement` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/force-arrangement.md
- `memory_delete` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/memory-delete.md
- `remove_arrangement_notes` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/remove-arrangement-notes.md
- `remove_arrangement_notes_by_id` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/remove-arrangement-notes-by-id.md
- `remove_notes` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/remove-notes.md
- `remove_notes_by_id` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/remove-notes-by-id.md
- `remove_rack_macro` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/remove-rack-macro.md
- `remove_simpler_slice` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/remove-simpler-slice.md
- `remove_warp_marker` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/remove-warp-marker.md
- `splice_remove_from_collection` — Destructive — https://policylayer.com/tools/io-github-dreamrec-livepilot/splice-remove-from-collection.md
- `apply_automation_recipe` — Execute — https://policylayer.com/tools/io-github-dreamrec-livepilot/apply-automation-recipe.md
- `back_to_arranger` — Execute — https://policylayer.com/tools/io-github-dreamrec-livepilot/back-to-arranger.md
- `build_project_brain` — Execute — https://policylayer.com/tools/io-github-dreamrec-livepilot/build-project-brain.md
- `build_reference_profile` — Execute — https://policylayer.com/tools/io-github-dreamrec-livepilot/build-reference-profile.md
- `build_song_brain` — Execute — https://policylayer.com/tools/io-github-dreamrec-livepilot/build-song-brain.md
- `capture_stop` — Execute — https://policylayer.com/tools/io-github-dreamrec-livepilot/capture-stop.md
- `compile_goal_vector` — Execute — https://policylayer.com/tools/io-github-dreamrec-livepilot/compile-goal-vector.md
- `continue_playback` — Execute — https://policylayer.com/tools/io-github-dreamrec-livepilot/continue-playback.md
- …and 443 more: https://policylayer.com/tools/io-github-dreamrec-livepilot.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=io-github-dreamrec-livepilot · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/io-github-dreamrec-livepilot
