0x0

v1.4.2
io.github.EijiAC24/0x0 Checked 2 days ago Published 5 days ago

A 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.

ParameterTypeDescription
expiresstringAuto-expire after a duration such as 1h, 24h, 7d or 2w
labelstringNote for yourself, e.g. who this PIN is for
oncebooleanExpire after the first message is received
publicbooleanPublic 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.

ParameterTypeDescription
pin *stringThe 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).

ParameterTypeDescription
content *string
peerstringFor a public PIN: the requester's peer key from the received message
pinstringOne of your own PINs, to reply on it
tostringAddress to send to, e.g. 0x0://0x0-293-4471-0038/a3f9
wait_secondsintegerHow long to wait for the peer to connect before queueing

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.

ParameterTypeDescription
fromstringOnly messages from this address
pinstringOnly messages received on this PIN of yours
timeout_secondsinteger

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`).

ParameterTypeDescription
limitinteger
peerstring
pinstring
tostring