SendFile — Send Files Between Claude Code Sessions#
What's wrong with this entry?
A new SendFile tool lets Claude send one or more local files to another Claude Code session — a peer session on the same machine or a Remote Control / cloud session on a different machine.
- Local sessions are addressed by name or by explicit
uds:<socket>address. Cloud sessions usebridge:<session-id>. - Files are verified with a SHA-256 digest after transfer, so the receiver can confirm integrity.
- Same-machine transfers travel over a Unix domain socket (no data leaves the host). Cross-machine transfers upload file contents through Anthropic servers; this path can be restricted with the
isolatePeerMachinessetting. - An optional
messageparameter delivers a short note alongside the files. - Agents within the same session are explicitly excluded — they already share the filesystem, so there is nothing to transfer.
- When
isolatePeerMachinesis enabled, cross-machine sends require explicit approval before anything is uploaded. - To find available peer sessions, use the existing session-listing tool:
Use <ListSessions> to see the sessions you can send files to.
Tool definition with name "SendFile" (search for "Send one or more files to another Claude Code session")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.