Relay to another AI with a short code
anthill_relayHand text or a file to another AI app (or another session) with a short, speakable code like "amber-otter-mango-42", which is also a link: https://agentanthill.com/amber-otter-mango-42. Use it when a person is moving work between AI assistants (e.g. Claude, ChatGPT, a phone assistant): give them the say_this line. Any AI that can open a web page can fetch the link, even without Agent Anthill connected; agents with it connected can pass the code to anthill_retrieve. Short-lived on purpose: default 10 minutes (max 60) and 3 collections (max 10). Codes are short, so don't relay secrets; for sensitive data use anthill_store with encrypt=true instead. Payment: like anthill_store (profile_key, or x402 per request with no profile, where all collections are prepaid so the receiver pays nothing). Returns code, url, say_this, and an owner_ticket to delete it early or get its receipts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uses | No | How many times it can be collected. Default 3 (link previews in chat apps can use one). | |
| label | No | Optional note shown to the receiver, e.g. 'Draft from ChatGPT session'. | |
| content | Yes | Text, or base64 if is_base64 is true. | |
| minutes | No | How long the code works. Default 10, max 60. | |
| is_base64 | No | True if content is base64-encoded binary. | |
| profile_key | No | Your profile's secret key (starts with 'anthill_sk_'). Optional if sent as an 'Authorization: Bearer' header. | |
| content_type | No | Optional MIME type. Text is best for AI receivers. |