Send code from a terminal
upload_sourceTrial version, not for production, online for a limited time. Without a key, this first call creates the trial. The upload command (curl) that sends the project folder to while from a terminal, through a 15-minute link; deploy_app then deploys it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "upload_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trial | No | The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call. | |
| project | No | The project. | |
| language | No | Trial creation: your human's language. while's texts for them are in that language, to_say included. Without this parameter, your session's language, then English. | |
| terminal | No | true: the curl command even when the client presents itself as a conversation (a client with a terminal that reaches while). | |
| environment | No | Production or a preview. | production |