zerocreds_create_session
Creates a one-time URL for users to enter passwords or API tokens directly into the secret store. Sensitive values never appear in the LLM context.
Instructions
Creates a ZeroCreds credential collection session. Returns a one-time URL for the user to enter their credentials — the values go directly to the secret store and NEVER appear in the LLM context. Use this whenever you need a password, API token, or any sensitive data from the user. After calling this, show the URL to the user, then poll zerocreds_check_status every 5–10 seconds until status is "done".
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": {
"title": "<title>",
"fields": "<fields>"
},
"name": "zerocreds_create_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Form heading shown to the user (e.g. "Connect GitHub") | |
| fields | Yes | Fields to collect from the user | |
| description | No | Optional subtext / instructions on the form | |
| destination | No | Named destination (string, e.g. "os-keychain") or inline config object (e.g. {"type":"os_keychain","service":"zerocreds","account":"github"}). Omit to use ZEROCREDS_DEFAULT_DESTINATION env var. Recommended: "os-keychain" stores in macOS Keychain or Windows Credential Manager automatically. |