Put Script Asset
put_script_assetUpload or replace a script asset from base64 content. Use the path as the key a command references — e.g. set an HTTP command's requestBody to { "key": "" } to give it a request body, or list the path in a browser upload step's files.
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": {
"projectId": "<projectId>",
"scriptId": "<scriptId>",
"path": "<path>",
"contentBase64": "<contentBase64>"
},
"name": "put_script_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The asset path / key to store it under, e.g. 'body.json'. | |
| scriptId | Yes | ||
| projectId | Yes | ||
| contentBase64 | Yes | The file content, base64-encoded. |