Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2234,6 +2234,25 @@ test the end of a restriction. `--from-session OTHER_TEST_NUMBER` sends a real s
another Test number in the project instead, producing an ordinary
`message.received` event you can reply to. Use `--json` for one JSON document.

## Test number phone

Each Test number has a simulated phone that acts as its main device. These
commands read it, send a text as the phone to another running Test number in
the project, and unlink a device as a person would from Linked devices. Device
0 is the phone itself and cannot be unlinked. They require a server API key
with `sandbox:read` for `get` and `sandbox:write` for `send` and `unlink`, and
Test numbers access. Phone sends share the 30-per-minute project limit with
test events.

```shell
polymorfa testing phone get --project PROJECT_ID --session my-test-number
polymorfa testing phone send --project PROJECT_ID --session my-test-number \
--to +15550100002 --text "hello from the phone"
polymorfa testing phone unlink --project PROJECT_ID --session my-test-number --device 74
```

Use `--json` for one JSON document.

## Local MCP tools

The package includes a standards-based stdio MCP server for Codex and Claude:
Expand Down
Loading
Loading