ctf_connect
Authenticate to CTFd or rCTF platforms using a URL and API token. Required before using other CTF tools.
Instructions
Connect to a CTF platform and authenticate.
Supports CTFd (most common) and rCTF platforms. Must be called before using other ctf_* tools.
Args: url: CTF platform base URL (e.g. 'https://ctf.example.com') token: API token from the platform settings page. For CTFd: Settings → Access Tokens → Generate. For rCTF: Profile → API Token. platform_type: Platform type — 'ctfd' (default) or 'rctf' verify_ssl: Verify SSL certificates (default True). Set False for self-signed certs commonly used in local CTF deployments.
Example: ctf_connect(url='https://ctf.example.com', token='ctfd_abc123')
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| token | No | ||
| verify_ssl | No | ||
| platform_type | No | ctfd |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |