Add a secret
- Open your server’s Secrets tab.
- Add a key such as
API_KEYand its value. - Save it.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Keep credentials out of your tool code.
API_KEY and its value.const response = await sdk.http({
url: "https://api.example.com/items",
headers: { Authorization: `Bearer ${env.API_KEY}` },
});
if (!response.ok) {
throw new Error(`API returned ${response.status}`);
}
return response.json();