Publish an extractor version
publish_extractor_versionPublish the extractor's current draft config as a new immutable semver version ("1.2"-style) that runs and evaluations can pin (extract group). releaseType picks the major or minor bump; pass config to publish that config instead of the draft. Published versions never change — keep iterating on the draft.
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": {
"workspaceId": "<workspaceId>",
"environment": "<environment>",
"id": "<id>",
"releaseType": "<releaseType>"
},
"name": "publish_extractor_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Extractor ID (ex_...). | |
| config | No | Publish this config instead of the current draft. Same shape and rules as config on create_extractor / extract_data. | |
| description | No | What changed in this version. | |
| environment | Yes | "TEST" = the Test (development) environment, "PRODUCTION" = live. Must match a granted target from get_me (an API key pins one environment). | |
| releaseType | Yes | Which semver component to bump. | |
| workspaceId | Yes | Target workspace (ws_...). Must be a granted workspace — get_me lists the accepted values. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| config | No | ||
| version | Yes | ||
| createdAt | No | ||
| description | No |