Whether a tool family is one the shell can keep: a label, a provider key and relays, and 1 to 64 uniquely named tools each pinned to a schema hash.
A candidate family.
True when it can be saved.
validFamily({ family: 'rooms', server: { pubkey, relays: ['wss://tools.example'] }, tools: [{ name: 'join', schemaHash }] }); // true Copy
validFamily({ family: 'rooms', server: { pubkey, relays: ['wss://tools.example'] }, tools: [{ name: 'join', schemaHash }] }); // true
Whether a tool family is one the shell can keep: a label, a provider key and relays, and 1 to 64 uniquely named tools each pinned to a schema hash.