pin_symbol
Set a weight to boost or demote a symbol's ranking in PageRank-driven code navigation. Use to highlight canonical examples or architectural keystones.
Instructions
Boost (or demote) a specific symbol in PageRank-driven ranking by setting a multiplicative weight. Pinned symbols also boost their containing file via the same weight. Use to surface canonical examples or architectural keystones. Capped at 50 active pins per project. Returns JSON: { ok, pin? }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol_id | Yes | Symbol FQN to pin | |
| weight | No | Pin weight multiplier in [0.1, 3]. Default 2. Values < 1 demote. | |
| expires_in_days | No | Days until the pin expires (default: 7). Omit to set the default TTL. |