PromptHub: delete an artifact
prompthub_delete_artifactDeletes a repository artifact by ID; get valid IDs from the repository's artifacts list, then republish to replace it. Returns not found if missing or inaccessible.
Instructions
Delete one artifact from a repo by its id (get ids from prompthub_get_repo's artifacts[]). Returns 'not found' if it does not exist or you cannot access it. Use this + republish to replace an artifact (the server appends, it does not de-duplicate).
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": {
"owner": "<owner>",
"name": "<name>",
"artifactId": "<artifactId>"
},
"name": "prompthub_delete_artifact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| owner | Yes | ||
| artifactId | Yes | Artifact id from prompthub_get_repo's artifacts[]. |