What gets copied
The prompt is written for the job in front of you:
Each prompt says where to send the result, so the work lands back in Jam.
The key
The article prompt tells the agent to call the Jam API, which needs a key for your workspace. If the workspace has no key yet, Jam asks first:- Create key: Jam creates a key named “Agent prompt” and writes it into the copied prompt. The key is shown once; save it if your agent will need it again.
- Copy without key: the prompt has
<YOUR_JAM_API_KEY>where the key goes. Add one later from Settings, Developer.
Reporting the work done
An action’s prompt ends with a completion link for that one action, which needs no key, so any agent can report the action done with the URL of what changed. Jam then checks the page. An agent that holds a key usescomplete_action instead.
When Jam cannot do an action
Some work is yours: outreach, community posts, or a change Jam could not make. The action then offers Copy prompt as its main button, and over the API the action carriesfallback: "copy_prompt": hand its agentPrompt to your agent.
From the API
The same instructions are on every action:GET /v1/actions/{actionId} (get_action) returns agentPrompt, which ends with the keyed complete_action route instead of the completion link. An agent connected over MCP can read it directly, so it does not need you to copy anything.