add_contact
Add a provider to the active agent's contacts, enriching with last job and capability when available. Idempotent: updates name/note without duplicate entries.
Instructions
Add a provider to the active agent's contacts list (.contacts.json). When the provider has prior jobs in the local history, the contact is enriched with lastJobAt and lastCapability. Idempotent: re-calling with the same npub updates name/note in place without duplicating the entry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| npub | Yes | ||
| name | No | ||
| note | No |