run-endpoint
Submit asynchronous jobs to Serverless endpoints and receive a job ID to poll for results.
Instructions
Submit an asynchronous job to a Serverless endpoint. Returns a job ID immediately — use get-job-status to poll for results. Async results are available for 30 minutes after completion.
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": {
"endpointId": "<endpointId>",
"input": "<input>"
},
"name": "run-endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpointId | Yes | ID of the Serverless endpoint to run | |
| input | Yes | Input payload for the worker handler. The expected fields depend on the deployed model or worker. | |
| webhook | No | Webhook URL to receive job completion notifications instead of polling | |
| policy | No | Execution policy options | |
| s3Config | No | S3-compatible storage config for large outputs |