Pin an explicit path to a contact
set_contact_pathOverride automatic path discovery by setting an explicit repeater path to a contact. Use empty path to mark as direct.
Instructions
Set an explicit forwarding path (a sequence of repeater path-hash bytes, up to 64) to a contact. Advanced: only when you want to override automatic path discovery. Pass pathHex: "" to mark the contact as direct (no repeaters). Pair with trace_path to discover a working path first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | contact name or hex public-key prefix | |
| pathHex | Yes | repeater path-hash bytes as hex (max 64 bytes / 128 chars); empty string ⇒ direct (no hops) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| publicKey | Yes | ||
| pathHex | Yes | the path bytes that were written (hex) |