PromptHub: create a repo
prompthub_create_repoCreate a new PromptHub repository from explicit repo content, including name, description, visibility, topics, README, and files, when you have publishable prompts to share.
Instructions
Create a new PromptHub repository from a full set of fields. Use this when the user explicitly provides repo content to publish. (To publish the CURRENT coding session, prefer prompthub_publish_session.) Call prompthub_describe_file_format if unsure of the files[] shape.
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": {
"repoName": "<repoName>",
"description": "<description>",
"visibility": "<visibility>",
"topics": "<topics>",
"readme": "<readme>",
"files": "<files>"
},
"name": "prompthub_create_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | At least one file. Call prompthub_describe_file_format for the exact content shapes. | |
| readme | Yes | Markdown README (may be empty). | |
| topics | Yes | Up to 8 topic tags. | |
| repoName | Yes | Repo name slug: lowercase letters/digits with single hyphens (e.g. 'code-review'). No spaces/uppercase/underscores. | |
| visibility | Yes | ||
| description | Yes | Short description, ≤500 chars (may be empty). |