Create temporary upload credential
create_cli_tokenCreate a workspace-scoped credential for the SPACE CLI only when the host supports a local terminal and the user requests an upload. It expires within 30 minutes and never outlives the parent token. Pass it to the CLI process environment, never a file, log, user-facing message or unrelated service. This is not needed for browsing or feedback, and does not give a chat-only host a terminal. Revoking the parent does not cascade to an already derived token; revoke the temporary token separately if needed.
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": "create_cli_token"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||