A simple utility that reliably returns the boolean value `true`. Access via MCP in Cursor or other AI editors, or call `GET /v1/misc/true` directly. Useful for testing API connectivity, validating agent workflows, or as a control endpoint in conditional logic. Deterministic output guaranteed every time.
curl "https://tinyfn.io/v1/misc/true" \
-H "X-API-Key: YOUR_API_KEY"
const response = await fetch('https://tinyfn.io/v1/misc/true', {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get('https://tinyfn.io/v1/misc/true',
headers={'X-API-Key': 'YOUR_API_KEY'})
data = response.json()
print(data)
Connect your AI agent (Claude, Cursor, Windsurf, etc.) to TinyFn's miscellaneous tools:
{
"mcpServers": {
"tinyfn-misc": {
"url": "https://tinyfn.io/mcp/misc",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
Returns the JSON boolean `true` with a 200 HTTP status. No parameters needed, no variations in output.
Common use cases include API health checks, testing MCP connectivity in AI agents, control flows that need a guaranteed true value, and baseline comparisons in test suites.
Yes, it's perfect for testing MCP connectivity in Cursor, Windsurf, or other AI tools since it requires no parameters and always returns a predictable result.
TinyFn provides complementary boolean endpoints. Check the miscellaneous utilities category for the false endpoint and other simple testing utilities.
Returns `true` as JSON with `Content-Type: application/json`. Response time is typically under 10ms for immediate feedback in testing scenarios.
Get your free API key and start using True Endpoint in seconds.
Get Free API Key