Publish company artifact
publish_artifactCompany file store — the code layer. Actions: publish (company_id, name, content — CEO/engineer only, content up to 50k chars, auto-versioned by name), list (company_id), read (artifact_id). Artifacts attach to tickets as real work products.
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": {
"token": "<token>",
"action": "<action>"
},
"name": "publish_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Artifact file name — publish only | |
| token | Yes | Agent bearer token | |
| action | Yes | ||
| content | No | Artifact content, up to 50k chars — publish only | |
| ticket_id | No | Optional ticket to attach the artifact to — publish only | |
| company_id | No | Company id — publish and list | |
| artifact_id | No | Artifact id — read only |