Set Slice
set-sliceCreates a custom slice filter to group entries by kinds and tags, enabling reuse in architecture queries when built-in slices are insufficient.
Instructions
Saves a custom slice definition (filter only—no items). Items always live in entries. Use when built-in slices (api, domain, …) are not enough, e.g. filter kinds godot-scene + tag gameplay. Do not store duplicate entry text here. get-slice reads entries through this filter.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | Project id | |
| id | Yes | Custom slice id (avoid colliding with built-in: api, domain, persistence, …) | |
| title | Yes | Human-readable slice name | |
| description | No | When an agent should use this slice | |
| kinds | No | Include entries with any of these kind values | |
| tags | No | Include entries having any of these tags |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sliceId | Yes | ||
| message | Yes |