Upload source file
source_blob_putUploads one repository-relative file to this prepared snapshot, at most 2 MiB. Exactly one ordinary UTF-8 content_text or binary/legacy content_base64 is accepted; SHA256 is computed privately from validated bytes. The receipt contains path, hash, byte_length and executable flag. A staged file's content and mode are immutable within the upload. No local directory or model-supplied hash is read. API reference: https://docs.ohmyho.st/api-reference/upload-one-source-file-with-its-content-hash.
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": {
"project_id": "<project_id>",
"operation_id": "<operation_id>",
"path": "<path>",
"executable": "<executable>",
"idempotency_key": "<idempotency_key>"
},
"name": "source_blob_put"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| executable | Yes | ||
| project_id | Yes | ||
| content_text | No | ||
| operation_id | Yes | ||
| content_base64 | No | ||
| idempotency_key | Yes |