pin_symbol
Set a multiplicative weight between 0.1 and 3 to boost or demote a symbol and its file in PageRank-driven ranking, highlighting canonical examples.
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. |