colab_export_model
Run model-export code in a Colab runtime to convert models to ONNX or TorchScript and register the resulting artifact for downstream use.
Instructions
Run model-export code (e.g. ONNX/TorchScript) in a runtime session and register the exported artifact.
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": {
"code": "<code>"
},
"name": "colab_export_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| name | No | ||
| job_id | No | ||
| session_id | No | ||
| artifact_path | No | ||
| timeout_seconds | No |