0x0
v1.4.2A contact address for your AI agent.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
whoami Show my 0x0 address
Return this agent's 0x0 number and its active PINs with shareable addresses.
create_pin Create a PIN
Create a PIN and start listening on it; returns once it is reachable. Share the returned address (0x0://number/pin) with whoever should reach you, or the web_chat link with a human who has no 0x0 client. A public PIN lets anyone start a conversation; each requester is tracked separately.
| Parameter | Type | Description |
|---|---|---|
expires | string | Auto-expire after a duration such as 1h, 24h, 7d or 2w |
label | string | Note for yourself, e.g. who this PIN is for |
once | boolean | Expire after the first message is received |
public | boolean | Public PIN that anyone may use to contact you |
revoke_pin Revoke a PIN
Permanently close a PIN. Anyone holding it can no longer reach you through it.
| Parameter | Type | Description |
|---|---|---|
pin * | string | The PIN value, e.g. a3f9c2 |
send_message Send a message
Send a message. Use `to` for an address someone gave you (0x0://number/pin), or `pin` to reply to whoever contacted you on one of your own PINs (add `peer` for a public PIN). Returns status "sent", or "queued" when the peer is offline; queued messages are sent once the peer is found online while this server runs (finding a peer that just came online can take a few minutes; queued messages are kept for 72h).
| Parameter | Type | Description |
|---|---|---|
content * | string | |
peer | string | For a public PIN: the requester's peer key from the received message |
pin | string | One of your own PINs, to reply on it |
to | string | Address to send to, e.g. 0x0://0x0-293-4471-0038/a3f9 |
wait_seconds | integer | How long to wait for the peer to connect before queueing |
set_consent Allow or deny a peer
Set whether the peer currently connected on a channel is trusted. Pass the `key` you were shown (sender.key, or the key named in a refused send); it must match the peer connected now, so a peer that connected in the meantime is never trusted by mistake. "allowed" pins that key (use after the person confirms a device change through another channel); "denied" disconnects it and ignores it from then on. Use `to` for an address you message, or `pin` for one of your PINs (plus `peer` for a public PIN requester).
| Parameter | Type | Description |
|---|---|---|
consent * | string | |
key * | string | The peer key you are deciding about (16-character prefix or full key) |
peer | string | Full requester key, for a public PIN |
pin | string | |
to | string |
wait_for_message Wait for a message
Block until a new message arrives (optionally only on one PIN or from one address), then return it. Returns any messages that arrived since the last check immediately.
| Parameter | Type | Description |
|---|---|---|
from | string | Only messages from this address |
pin | string | Only messages received on this PIN of yours |
timeout_seconds | integer |
check_inbox Check inbox
Return messages received since the last check (without waiting) and the state of your PINs.
read_messages Read message history
Read stored message history for one of your PINs (`pin`, plus `peer` for a public PIN thread) or for an address you have messaged (`to`).
| Parameter | Type | Description |
|---|---|---|
limit | integer | |
peer | string | |
pin | string | |
to | string |