set_basic_auth
Configure HTTP Basic Auth credentials for a project so the browser automatically sends them on every request. Use for browser Basic-Auth prompts, not HTML login forms.
Instructions
Configure HTTP Basic Auth credentials for a project — the browser sends them on every request in that project's context. Stored, not executed: call login_project to apply, then pass project to your sessions. Returns {success}. Use for browser Basic-Auth prompts, not HTML login forms (use set_form_login for those).
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": {
"project": "<project>",
"username": "<username>",
"password": "<password>"
},
"name": "set_basic_auth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | Project name | |
| password | Yes | Basic auth password | |
| username | Yes | Basic auth username |