submit_and_pay_job_from_file
Submits jobs with large or binary input by reading from a file. Peer-to-peer file transfer avoids model token usage, enabling efficient handling of images, logs, and captured output.
Instructions
Same as submit_and_pay_job, but the job input is read from a file on disk by the MCP server instead of being passed inline by the LLM. Use this when the input is large or binary (images, logs, captured output) and the LLM only needs to forward it - the file content never enters the model's output tokens. input_path may be absolute or relative to the MCP server's working directory. The file is ALWAYS transferred peer-to-peer via iroh, so this needs: a persistent agent, a PAID provider skill (free skills reject file inputs), and the iroh addon. Text files reach the skill on stdin; binary files via ELISYM_INPUT_FILE.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | Yes | Path to a regular file whose contents become the job input. Absolute or relative to the MCP server's working directory. | |
| provider_npub | Yes | ||
| capability | No | general | |
| kind_offset | No | ||
| timeout_secs | No | ||
| max_price_lamports | No | ||
| allow_outside_cwd | No | Allow reading a file outside the MCP server working directory. Off by default - the file content is forwarded to the provider before payment and is invisible in the transcript, so reads are confined to the working dir unless this is set. Sensitive files (secret keys, .env, SSH/keypair, ~/.elisym, /proc) are always refused. |