Android Texter

v1.2.0
io.github.argosautomation/android-texter Checked 4 days ago Published 16 days ago

Send and read SMS and MMS from your own Android phone and number via Android Texter.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_devices List paired phones

List the Android phones paired to your Android Texter account. Each entry has its id, name, phone_number, status (online or offline), battery_level, last_seen, and its SIMs (slot, label, number) on dual-SIM phones. Texts are sent from these phones with their own numbers and carrier plans, so check that one is online before sending.

list_conversations List conversations

List your text conversations, most recent activity first. Each entry has phone (the other party, or a group's members joined by commas), last_message, last_direction, last_at, message_count, thread_type (direct or group), thread_ref, and the device it is on. Use get_conversation to read one in full.

ParameterTypeDescription
limitnumberHow many conversations to return, 1 to 200. Default 20.
viewstringWhich folder to list. all: everything except archived and spam (default). inbox: conversations where the other side has replied. outbox: nothing has come back yet. archived and spam: those folders onl…

get_conversation Read a conversation

Read the messages in the conversation with one phone number, newest first. Each message has direction (inbound or outbound), body, status, created_at, and media_url for picture messages. For a group conversation, pass the thread_ref from list_conversations.

ParameterTypeDescription
phone *stringThe other party's phone number. Use E.164 format (e.g. +15551234567). A number without a country code is read in the country of the phone's SIM.
limitnumberMessages per page, 1 to 100. Default 50.
pagenumberPage number, 1 for the newest messages. Default 1.
thread_refstringOptional. The conversation's thread_ref from list_conversations or a message. Required to read a group conversation; preferred over phone when known.

search_messages Search messages

Search all of your texts, sent and received, for a word or phrase. Matches the message text, the phone number, and the contact's name. Newest first.

ParameterTypeDescription
q *stringWhat to search for (case-insensitive substring).
limitnumberResults per page, 1 to 100. Default 50.
pagenumberPage number. Default 1.

send_message Send a text

Send a text message from one of your paired Android phones, using that phone's own number and carrier plan, to a real person. Confirm the recipient and wording with the user before sending. The call returns once the message is queued and pushed to the phone, not when it is delivered: use get_message_status with the returned message_id to follow it. Pass scheduled_at to send it later instead of now. Free plans have a daily sending limit.

ParameterTypeDescription
message *stringThe text to send, up to 1600 characters.
phone *stringThe recipient's phone number. Use E.164 format (e.g. +15551234567). A number without a country code is read in the country of the phone's SIM. Several numbers separated by commas (up to 25) send one g…
device_idstringOptional id of the phone to send from (see list_devices). If omitted, the first online phone is used. If none is online, it is queued for the first paired phone and fails if that phone does not come b…
media_urlstringOptional public URL of an image to attach. Makes this a picture message (MMS).
scheduled_atstringOptional time to send it instead of now, as an ISO 8601 timestamp with a time zone (e.g. 2026-11-03T14:30:00Z or 2026-11-03T09:30:00-05:00). Must be in the future. The server releases it to the phone…
sim_slotnumberOptional, dual-SIM phones only: which SIM to send from, 0 for SIM 1 and 1 for SIM 2. If omitted, the phone uses the SIM chosen for that conversation, else the SIM the recipient last texted, else its d…

send_broadcast Send one text to many people

Send the same text to a list of phone numbers (up to 500), each as its own one-to-one message from your paired phone's own number. Only use this when the user has asked to text a list of people, and confirm the list and wording first: every recipient gets a real text. The message can be personalized from each recipient's contact record with {{name}}, {{first_name}}, {{last_name}}, {{full_name}}, {{company}}, {{city}} or {{state}}, and {{first_name|there}} gives a fallback when the field is empty. {{name}} is the name set by save_contact; first_name and last_name are only filled for contacts im…

ParameterTypeDescription
message *stringThe text to send, up to 1600 characters. May contain the personalization tokens above.
phones *arrayRecipient phone numbers, up to 500. Use E.164 format (e.g. +15551234567). A number without a country code is read in the country of the phone's SIM. To text everyone with a tag, get their numbers from…
device_idstringOptional id of the phone to send every message from. If omitted, the first online phone is used.
media_urlstringOptional public URL of an image to attach to every message (MMS).
round_robinbooleanOptional. Spread the messages across all of your online phones instead of sending them all from one. Ignored when device_id is set.

get_message_status Check a message's status

Check where an outbound message is: queued (waiting for the phone), sent (the phone handed it to the carrier), delivered, or failed. Pass the message_id returned by send_message or send_broadcast.

ParameterTypeDescription
message_id *stringThe message id returned when it was sent.

list_scheduled_messages List scheduled messages

List the messages that are scheduled to go out later and have not been sent or cancelled yet, soonest first. Use this before scheduling more, and to get the id needed by cancel_scheduled_message.

cancel_scheduled_message Cancel a scheduled message

Cancel a message that is scheduled for a future send, so it never goes out. Only works while it is still pending; a message that has already been released to the phone cannot be recalled.

ParameterTypeDescription
message_id *stringThe id of the scheduled message, as returned by list_scheduled_messages or by send_message when it was scheduled.

list_contacts List contacts

List or search your Android Texter contacts. Each contact has id, phone, name, email, company, notes, tags, and line type and carrier when a lookup has been run. Filter by tag to build a list for send_broadcast.

ParameterTypeDescription
limitnumberContacts per page, 1 to 500. Default 50.
pagenumberPage number. Default 1.
searchstringOptional. Matches phone, name, email, company, or carrier (case-insensitive substring).
tagstringOptional. Only contacts carrying this exact tag. See list_contact_tags.

list_contact_tags List contact tags

List every tag used on your contacts, for filtering list_contacts.

save_contact Create or update a contact

Create a contact, or update the one that already has this phone number. Only the fields you pass are changed; fields you leave out keep their current values. Tags are added to the contact's existing tags, never removed.

ParameterTypeDescription
phone *stringThe contact's phone number, which identifies the contact. Use E.164 format (e.g. +15551234567). A number without a country code is read in the country of the phone's SIM.
companystringOptional company.
emailstringOptional email address.
namestringOptional name, used for {{name}} in send_broadcast.
notesstringOptional notes. Replaces any existing notes.
tagsarrayOptional tags to add.

known_issues Check what Android Texter already knows about

Read Android Texter's own list of current limitations, plan limits and known bugs, with the workaround for each. Call this BEFORE telling the user that something is broken, impossible, or a bug, and before using report_issue: a 429 on a send, a status that never reaches 'delivered', and a broadcast that cannot be scheduled all have known explanations, and guessing at them in front of the user gets it wrong. Reads nothing about the account and sends nothing anywhere.

ParameterTypeDescription
toolstringOptional. Only issues affecting this tool (e.g. send_broadcast), plus the ones that affect everything.

report_issue Report a problem or limitation to Android Texter

Tell Android Texter about something you could not do with these tools: a capability that is missing, a tool whose arguments or behaviour were unclear, a result that looked wrong, or a limit you hit on the user's behalf. Android Texter cannot see this from their logs, because the thing worth reporting is usually the request you decided not to make. Call known_issues first, so you do not report something already known. Use it when you have actually hit the wall, not speculatively, and once per problem: filing the same thing twice adds nothing. PRIVACY, and this is not optional: describe the PROB…

ParameterTypeDescription
category *stringmissing_capability: there is no tool for what was needed. unclear_tool: the tool exists but its arguments or behaviour were ambiguous. tool_error: it returned an error you could not act on. wrong_resu…
goal *stringOne sentence on what you were trying to achieve, in terms of the task, not the data. Good: "schedule one broadcast to a tagged list for tomorrow morning". Bad: anything quoting a message, a number or…
blockedbooleanTrue if you could not complete the user's request at all. False if you got there another way but it was awkward. This is the field that sorts the queue, so be honest about it.
expectedstringOptional. One sentence on what you expected to be able to do, or what you expected to happen.
suggestionstringOptional. One sentence on what would have solved it, if you can name it (a tool, an argument, a clearer description).
toolstringOptional. The tool this is about, e.g. send_broadcast. Leave out if it is about the API as a whole.