Kobold MCP Server
kobold_token_count
Count tokens in text
Input Schema
Name | Required | Description | Default |
---|---|---|---|
apiUrl | No | http://localhost:5001 | |
text | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"apiUrl": {
"default": "http://localhost:5001",
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"text"
],
"type": "object"
}
You must be authenticated.
Other Tools
- kobold_max_context_length
- kobold_max_length
- kobold_generate
- kobold_model_info
- kobold_version
- kobold_perf_info
- kobold_token_count
- kobold_detokenize
- kobold_transcribe
- kobold_web_search
- kobold_tts
- kobold_abort
- kobold_last_logprobs
- kobold_sd_models
- kobold_sd_samplers
- kobold_txt2img
- kobold_img2img
- kobold_interrogate
- kobold_chat
- kobold_complete