Import API Key Credentials
import_apikey_credentialsPreview API key credentials from apikey*.txt files, then persist them to local or global .env storage after review. Supports append or overwrite connections.
Instructions
Preview and persist apikey*.txt credentials into local/global .env. Preview-first: the default call verifies and projects the target and returns a plan_handle; call again with execute=true and that handle to persist. overwrite=false appends different credentials as another connection.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "import_apikey_credentials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| execute | No | Persist the reviewed preview (default false = preview only, writes nothing). | |
| profile | No | Optional tool profile stored in the selected local/global .env. | |
| file_path | No | Absolute path to apikey*.txt; defaults to the only secure apikey*.txt in cwd. | |
| overwrite | No | Replace the default stored connection instead of appending. Default false. | |
| plan_handle | No | Plan handle returned by the reviewed preview. Required for execute=true. | |
| storage_scope | No | local = this folder; global = any folder. Omit for interactive choice when supported. |