files_rerun
Re-runs existing code cells (Python/SQL) WITHOUT changing their code — e.g. to refresh external data. range: an A1 selection of code cells to re-run; omit it to re-run every code cell on the sheet. Execution is ASYNCHRONOUS: returns a task id immediately; read results with files_read after a few seconds. (To set new code, use files_run; this only re-runs unchanged code.) Requires edit permission. Signature: files_rerun(file_uuid, range?, sheet?).
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": {
"file_uuid": "<file_uuid>"
},
"name": "files_rerun"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | No | A1 selection of code cells to re-run; omit to re-run all code cells on the sheet. | |
| sheet | No | Sheet name (defaults to the first sheet). | |
| file_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| status | Yes | ||
| task_id | Yes | ||
| file_uuid | Yes |