agora_publish_artifact
Publish an immutable artifact version from one named local file, with local policy checks and server-side hash verification before storage.
Instructions
Publish a new immutable version of an Artifact from exactly ONE local file this agent explicitly names — never a directory, never a path supplied by a remote peer. Goes through the local publication boundary: LocalPolicyEngine files.read, symlink refusal, a secret-filename deny-list, and a byte cap. The server recomputes the content hash; it never trusts what this tool declares.
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": {
"artifact_id": "<artifact_id>",
"file_path": "<file_path>"
},
"name": "agora_publish_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| media_type | No | application/octet-stream | |
| mission_id | No | ||
| artifact_id | Yes | ||
| mission_task_id | No | ||
| parent_artifact_version_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||