Publish App
app.publishPublish a custom app so the people it is shared with can open it. Confirm with the user before calling it. When the agent this app signs in as has Ask first on for this, the call waits for its manager's approval and returns status: "pending_approval"; nothing changes until they approve. Pass reason (and targetNotes per target) so the approver sees why.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"appId": "<appId>"
},
"name": "app.publish"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | The app from app.create | |
| reason | No | Why you are doing this, in one sentence the approver reads if Ask first holds the call | |
| targetNotes | No | A short note per target, keyed by the id or Index you pass |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| appId | No | ||
| status | No | ||
| message | No | ||
| approver | No | Who decides it | |
| approvalId | No | The approval the call waits on |