Take the code
export_codeHow to take a workspace's code out of CodeGene when CodeGene keeps it (a workspace with no GitHub): links that download the whole codebase as a zip or tar.gz (send them to the person: they open in their signed-in browser, you get no bytes), and how to clone it or copy it to their own GitHub with create_code_token. A workspace whose code is already in its own GitHub says so. Only owners and admins can take the code.
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": "export_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | No | Workspace id from whoami; omit when there is one. |