# Photon MCP tools for AI agents

Source: https://corespeed.io/catalog/photon

Connect Photon to Claude Code, Codex, Cursor or any MCP agent through CoreSpeed. Send and read iMessage, WhatsApp, SMS and email conversations through Photon, provision the lines and numbers behind them, and manage a project's webhooks, agent profile, metrics and billing. Your agent works through your own Photon account and gets 119 Photon tools; CoreSpeed holds the credential, so the agent never sees the token. Calling it is free.

## Tools

- `photon__get_account`: Get the Photon account the connection acts as: id, email, name, phone. Needs an Account Service Key; a project key is refused.
- `photon__get_current_organization`: Get the organization this connection acts in — the one a sign-in with Photon was approved for — with the organizationId list_projects needs. Not in Photon's published API document; Photon support confirmed it (needs organization:read).
- `photon__update_account`: Change the account's first or last name (lastName null clears it). Needs an Account Service Key.
- `photon__list_connected_applications`: List the OAuth applications authorized on the account. Needs an Account Service Key.
- `photon__revoke_connected_application`: Revoke one OAuth application's grant on the account (application.id, connect_app_…). Needs an Account Service Key.
- `photon__list_account_service_keys`: List the account's Account Service Keys — names, ids, expiry — never their secrets. Create or revoke them in Photon's dashboard or CLI.
- `photon__get_organization_billing`: Read an organization's billing subscription, charges and entitlements.
- `photon__list_invoices`: List an organization's invoices (zero-total invoices are left out).
- `photon__get_organization_payment_method`: Whether the organization has a card on file, and its non-secret details.
- `photon__create_payment_method_checkout`: Get a hosted URL where a person adds a payment card for the organization. Hand the URL to a human; check get_organization_payment_method afterwards.
- `photon__list_billing_plans`: List Photon's plan catalog (the same for every project): categories, plan codes and what they include. Use it to choose change_plan's category and planCode.
- `photon__get_project_billing`: A project's plans, entitlements and current-period usage.
- `photon__get_billing_operation`: Poll a plan change (change_plan answers an operation id, pho_bop_…) until it succeeds or fails.
- `photon__change_plan`: Purchase or change a project's plan for one category (e.g. messaging → a planCode from list_billing_plans). Charges the organization's card on file. Usually answers 202 with a billing operation to poll with get_billing_operation.
- `photon__cancel_subscription`: Schedule a project's billing category to stop at the end of its current period; it stays active until cancelsAt.
- `photon__resume_subscription`: Remove a scheduled cancellation so the category renews normally.
- `photon__list_projects`: List an organization's active projects, newest first; filter by name text and creation window; page with pageToken. Needs an Account Service Key.
- `photon__count_projects`: Count the projects list_projects would return for the same filters.
- `photon__check_project_slug`: Whether create_project would accept this slug right now (advisory: the create itself allocates).
- `photon__create_project`: Create a project in an organization. The slug (3–63 lowercase alphanumerics and single hyphens) is permanent. Needs an Account Service Key.
- `photon__get_project_closure_status`: Progress of a project deletion (delete_project): per-domain progress and whether closure is complete.
- `photon__get_project`: Get a project: name, slug, organization, agent profile. With no projectId, the connection's own project — the way to learn its organizationId.
- `photon__update_project`: Rename a project (the slug cannot change). Needs an Account Service Key.
- `photon__delete_project`: Start deleting a project and everything in it — its lines, numbers, messages and keys. Follow with get_project_closure_status. Needs an Account Service Key; a connection whose own project this is stops working.
- `photon__get_agent_profile`: The project's agent profile: the name and avatar recipients see.
- `photon__update_agent_profile`: Change the agent's first or last name (lastName null clears it).
- `photon__create_agent_avatar_upload`: Start an avatar change: a ten-minute presigned S3 POST (uploadUrl + formFields) for a JPEG, PNG or WebP up to 5 MiB. Upload the file there without Photon credentials, then commit_agent_avatar with the uploadId.
- `photon__commit_agent_avatar`: Make an uploaded image (create_agent_avatar_upload's uploadId) the agent's avatar.
- `photon__reset_agent_avatar`: Replace the agent's avatar with Photon's default planet image; the custom avatar is discarded.
- `photon__list_project_api_keys`: List a project's API keys — names, permissions, expiry — never their secrets. Create, change or revoke them in Photon's dashboard or CLI. Needs an Account Service Key.
- `photon__send_message`: Send into a conversation (Space) as one of the project's agents: a text (plain or markdown), an uploaded attachment or voice note, a reaction to a message (parentMessageId), a poll or a vote on one, a read receipt, a typing update, a DTMF digit on a call, or a group of such parts. SMS, email, WhatsApp, WhatsApp Business and dedicated iMessage lines; email takes to/cc/bcc/subject. Answers 202: the Message with status accepted, then delivered or failed (get_message). Edits, unsends, poll changes and participant changes are their own tools.
- `photon__edit_message`: Edit the text of a message this agent sent, where the platform supports edits (iMessage, WhatsApp). Answers 202 with the edit as a Message.
- `photon__unsend_message`: Unsend (delete) a message this agent sent, for everyone where the platform supports it. reason and scope are Photon's optional notes on the deletion.
- `photon__remove_reaction`: Take back a reaction this agent added to a message.
- `photon__update_poll`: Change a poll this agent sent: its question, options or selection mode (the whole poll is restated).
- `photon__update_space_participants`: Add or remove participants of a group conversation. Pass the User records get_user returns; their timestamps are dropped, as Photon's snapshot shape requires. At least one of added or removed.
- `photon__list_messages`: List a project's messages, newest first: filter by line (resourceId), conversation, user perspective, direction, platform and time; page with pageToken (at most 200 a page). Eventually consistent.
- `photon__count_messages`: Count messages matching list_messages' filters; groupBy direction and/or perspectiveUser, or interval=day for daily buckets in a timeZone.
- `photon__get_message`: Get one message by id: content, sender, space, status (received, accepted, dispatched, delivered, failed) and timestamps.
- `photon__mark_message_read`: Send a read receipt for an incoming message from its receiving line. Answers 202 with the action Message that tracks the outcome.
- `photon__list_spaces`: List conversations: filter by platform, participant (id or phone/email handle), time, or by a message they contain; order by last_message_created_at for most recent activity. At most 100 a page.
- `photon__count_spaces`: Count conversations matching list_spaces' filters; groupBy messagePerspectiveUser splits by the user on the messages (needs messageResourceId).
- `photon__get_space`: Get one conversation: platform, kind (direct or group), participants and details.
- `photon__create_space`: Open (or find) a conversation between Users: iMessage and WhatsApp take exactly 2 participants, SMS 2–9, email 1–51; one must be a project agent. Direct Spaces converge by participants; each call opens a new email thread. Answers the Space.
- `photon__set_space_typing`: Show or stop a typing indicator in a conversation as an agent (true refreshes; repeat to keep it showing). Answers 202 with the dispatched Message.
- `photon__list_users`: List the people and agents the project knows: filter by platform, time, or by a message they sent or received; or read up to 100 by userIds in one call.
- `photon__count_users`: Count Users matching list_users' filters.
- `photon__get_user`: Get one User with a refreshed classification: Human or Agent, handle, platform, and for agents which line (resourceId) they are.
- `photon__create_user`: Resolve a handle (an E.164 phone number, an email address, an iMessage address) on a platform to a User, creating it if new. The first step before create_space with someone new.
- `photon__list_attachments`: List uploaded attachments: id, filename, content type, size. The bytes come from download_attachment.
- `photon__get_attachment`: One attachment's metadata.
- `photon__list_project_platforms`: The platform types this project can use (sms, email, whatsapp, whatsapp_business, imessage, …).
- `photon__get_imessage_platform`: Whether the project is on shared or dedicated iMessage lines, with the shared seat cap.
- `photon__get_whatsapp_platform`: Whether the project is on shared or dedicated WhatsApp lines, with the shared seat cap.
- `photon__list_resources`: List everything the project holds — SMS numbers, dedicated lines, WhatsApp senders — oldest first, with each one's abilities (sms, imessage, whatsapp, pstn_voice, …) and state. Filter by type, ability or comma-separated states. In-flight provisions are operations, not resources.
- `photon__get_resource`: One line or number: abilities, state and its public detail (the phone number, health).
- `photon__release_resource`: Give a resource back: an SMS number is retired, a dedicated line returns to the pool; its charge period closes. Usually immediate (200), sometimes an operation to poll (202).
- `photon__list_operations`: List the project's provisioning and release operations, oldest first, running ones included; filter by resourceId, comma-separated states or one type.
- `photon__get_operation`: Poll one operation until its state is succeeded, failed or cancelled; a finished provision carries the resource, an email domain's detail carries its DNS records.
- `photon__cancel_operation`: Withdraw a provision that has not been fulfilled — a dedicated line still waiting for inventory, an SMS number before its provider order. Campaign operations cannot be cancelled.
- `photon__list_imessage_assignments`: List who holds a seat on the project's shared iMessage lines (released seats only with includeReleased).
- `photon__create_imessage_assignment`: Give an end user a seat on a shared iMessage line: their handle (E.164 phone or email) is mapped onto a pooled number the server picks. An email invites them.
- `photon__get_imessage_assignment`: One shared iMessage line assignment.
- `photon__release_imessage_assignment`: Free a shared iMessage seat and its handle; the row stays for audit with releasedAt set, so repeating is safe.
- `photon__provision_imessage_line`: Claim a dedicated iMessage line for the project. Always an operation (202): capacity can take hours, so poll get_operation or cancel_operation to stop waiting. Needs the dedicated-lines entitlement; billed once a line is claimed.
- `photon__release_imessage_line`: Remove iMessage from a dedicated line (the number and any WhatsApp on it stay). Usually immediate, sometimes an operation to poll.
- `photon__list_whatsapp_assignments`: List who holds a seat on the project's shared WhatsApp lines.
- `photon__create_whatsapp_assignment`: Give an end user's phone number a seat on a shared WhatsApp line; an email invites them.
- `photon__get_whatsapp_assignment`: One shared WhatsApp line assignment.
- `photon__release_whatsapp_assignment`: Free a shared WhatsApp seat; repeating is safe.
- `photon__provision_whatsapp_line`: Provision a dedicated WhatsApp line (with shared Voice), on the project's iMessage line when possible so both keep one number. Always an operation (202) to poll or cancel.
- `photon__release_whatsapp_line`: Remove WhatsApp from a dedicated line (iMessage and the number stay).
- `photon__get_whatsapp_business_account`: The WhatsApp Business Account connected to the project: business, review status, outbound capacity, sender count.
- `photon__list_whatsapp_business_phone_numbers`: The connected WABA's phone numbers straight from Meta, with whether each is in Photon's inventory.
- `photon__get_whatsapp_signup_config`: What a browser needs to open Meta's Embedded Signup popup for this project: configId, graphVersion and scopes.
- `photon__connect_whatsapp_business`: Finish Embedded Signup: exchange the code, WABA id and phone-number id the popup returned and connect that number as a whatsapp_sender. Free, but the organization needs a card on file. Answers an operation.
- `photon__create_whatsapp_business_sender`: Register one of the project's own SMS-capable VoIP lines as a WhatsApp Business sender; Photon handles the SMS ownership code. Answers an operation.
- `photon__get_whatsapp_business_verification_code`: Read the latest WhatsApp Business ownership code Meta texted to one of the project's VoIP numbers, if newer than receivedAfter (within the last two minutes). A missing code is a retryable 404.
- `photon__disconnect_whatsapp_business_account`: Disconnect every WhatsApp Business sender and the account itself from the project (the numbers stay in Meta and Photon). Answers an operation to poll.
- `photon__list_sms_countries`: Countries SMS numbers can be bought in.
- `photon__list_sms_area_codes`: US area codes with current provider coverage for new numbers.
- `photon__purchase_sms_number`: Buy one US local number (optionally in an area code from list_sms_area_codes) as an SMS-enabled resource. Always an operation (202): poll get_operation, cancel_operation while it waits for inventory. Billed on delivery.
- `photon__get_sms_campaign`: An SMS line's 10DLC campaign assignment, its eligibility and the version assign_sms_campaign needs.
- `photon__assign_sms_campaign`: Attach (or replace) a ready 10DLC campaign from the organization on an SMS line; needs the current expectedVersion from get_sms_campaign. Provider provisioning runs as an operation.
- `photon__unassign_sms_campaign`: Detach an SMS line's 10DLC campaign (number and campaign stay owned); needs the current expectedVersion.
- `photon__connect_telegram_bot`: Start connecting a managed Telegram bot: the answer is an operation whose detail.setupUrl a person opens to pick or create the bot; then poll get_operation.
- `photon__connect_email_domain`: Connect a sending domain: Photon starts provider setup and the operation's detail lists the DNS records to publish; poll get_operation until the domain is READY.
- `photon__list_voice_profiles`: The project's Voice (SIP routing) profiles; default=true for the project default only.
- `photon__create_voice_profile`: Create an additional Voice profile (the project default must already exist).
- `photon__get_default_voice_profile`: The project's default Voice profile, with its inbound and outbound state.
- `photon__create_default_voice_profile`: Create the project's default Voice profile when it has none (an identical replay returns the existing one).
- `photon__update_default_voice_profile`: Change the default profile's protocol or media encryption; needs its current expectedVersion.
- `photon__get_voice_profile`: One Voice profile, with its inbound and outbound state.
- `photon__update_voice_profile`: Rename an additional profile or change its protocol or media encryption; needs its current expectedVersion.
- `photon__delete_voice_profile`: Delete an additional Voice profile (never the default); force=true also drops the line overrides pointing at it.
- `photon__update_voice_profile_inbound`: Point a profile's inbound calls at a SIP destination URI (sip: or sips:). Destination authentication is left as it is; set a username and password in Photon's dashboard.
- `photon__delete_voice_profile_inbound`: Remove a profile's inbound destination (the profile and its lines stay).
- `photon__update_voice_profile_outbound_authentication`: Switch a profile's outbound SIP Digest algorithm (sha-256 recommended, md5 legacy); the credential itself is unchanged.
- `photon__delete_voice_profile_outbound`: Revoke a profile's outbound calling credential (inbound and lines stay).
- `photon__get_voice_line_profile`: Which Voice profile a line overrides to; a line on the project default answers without profileId.
- `photon__assign_voice_line_profile`: Route one line's calls to an additional profile instead of the default; needs the line's current expectedVersion.
- `photon__unassign_voice_line_profile`: Send a line back to the project's default Voice profile.
- `photon__batch_update_voice_line_profiles`: Atomically set or clear (profileId null) the profile override on up to 100 lines; every expectedVersion must match or nothing changes.
- `photon__get_metrics_schema`: The message_events SQL schema, dialect, capabilities and limits query_metrics accepts.
- `photon__query_metrics`: Run read-only SQL over the project's message_events table (delivery outcomes, volumes, latency by platform); get_metrics_schema lists the columns. parameters bind named placeholders.
- `photon__get_metrics_backfill`: Progress of the historical metrics backfill (queries work meanwhile).
- `photon__list_webhook_api_versions`: The published webhook payload versions (calendar dates) and which are selectable for new destinations.
- `photon__list_webhook_event_types`: The event types a payload version offers (message.created, message.updated, …), with descriptions and schema links.
- `photon__get_webhook_event_schema`: The JSON Schema of one event type in one payload version.
- `photon__list_webhook_egress_addresses`: The IP addresses Photon delivers webhooks from, for a receiver's allowlist.
- `photon__list_webhook_destinations`: The project's webhook destinations (never their signing secrets).
- `photon__create_webhook_destination`: Register an HTTPS URL to receive events of a payload version. The answer carries the signing secret once — keep it for verifying webhook-signature headers (Standard Webhooks).
- `photon__get_webhook_destination`: One webhook destination's configuration.
- `photon__update_webhook_destination`: Change a destination's URL, name, description (null clears), events or status (disable to pause delivery). The payload version cannot change.
- `photon__delete_webhook_destination`: Delete a webhook destination (repeating is safe).
- `photon__rotate_webhook_secret`: Issue a destination a new signing secret (returned once); the old one keeps verifying for overlapSeconds (default a day).
- `photon__retry_webhook_delivery`: Wake a waiting (backed-off) delivery for an immediate attempt; expectedAttemptCount fences stale requests. Answers 202: an attempt, not a success.
- `photon__download_attachment`: Read an attachment's bytes (up to 2 MiB): an image comes back as an image, audio as audio, text or JSON as text, anything else as an embedded blob. A just-uploaded attachment may answer 409 ATTACHMENT_NOT_READY with a Retry-After.
- `photon__upload_attachment`: Upload a file (base64, up to 10 MiB) as a project attachment and get its pho_att_… id, to send with send_message as an attachment or voice note. Give the real content type (image/jpeg, audio/mp4, application/pdf, …); Photon checks it against the bytes.

## Questions

### Does Photon need my own account?

Yes. Connect your own Photon account once; CoreSpeed holds the credential, and your agents get tools, never the token.

### What does Photon cost on CoreSpeed?

Calling it is free.

### Which agents can use Photon?

Any MCP client, such as Claude Code, Codex, or Cursor. Give your agent the setup line, and the tools join its tool list. Set up an agent: https://corespeed.io/docs/mcp

## Related pages

- [Photon for Claude Code, Codex, and Cursor](https://corespeed.io/integrations/photon): Read and answer iMessage, WhatsApp and SMS conversations on your Photon lines from the agent you already use.

## Links

- Catalog: https://corespeed.io/catalog
- Set up an agent: https://corespeed.io/SKILL.md
- Pricing: https://corespeed.io/pricing (Markdown: https://corespeed.io/pricing.md)
