Agent skill
http-api-client
Make HTTP requests to any URL or API endpoint. Use when the user needs to call a REST API, fetch data from a URL, send webhooks, or test HTTP endpoints. Supports GET, POST, PUT, PATCH, DELETE methods with custom headers and JSON body.
Install this agent skill to your Project
npx add-skill https://github.com/binome-dev/humcp/tree/main/src/tools/api
SKILL.md
HTTP API Client Tools
General-purpose HTTP client for making requests to any URL or API endpoint.
Available Tools
| Tool | API Key Required | Best For |
|---|---|---|
http_request |
None | Making HTTP requests to any URL |
Quick Examples
GET request
result = await http_request(
method="GET",
url="https://api.example.com/users",
headers={"Authorization": "Bearer token123"}
)
POST request with JSON body
result = await http_request(
method="POST",
url="https://api.example.com/users",
headers={"Content-Type": "application/json"},
body={"name": "Alice", "email": "alice@example.com"},
timeout=15
)
PUT request
result = await http_request(
method="PUT",
url="https://api.example.com/users/123",
body={"name": "Alice Updated"}
)
DELETE request
result = await http_request(
method="DELETE",
url="https://api.example.com/users/123"
)
Response Format
{
"success": true,
"data": {
"status_code": 200,
"headers": {"content-type": "application/json"},
"body": {"id": 1, "name": "Alice"},
"url": "https://api.example.com/users",
"method": "GET",
"elapsed_ms": 152.34
}
}
On failure:
{
"success": false,
"error": "Connection failed: ..."
}
When to Use
- Call REST APIs: Make GET/POST/PUT/PATCH/DELETE requests
- Fetch data: Retrieve JSON or text from any URL
- Send webhooks: POST data to webhook endpoints
- Test endpoints: Verify API responses and status codes
- Integration glue: Connect to any HTTP-based service
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
llm
Generate text, call tools, and get structured JSON output using LLM providers (Claude, OpenAI, Gemini, Ollama). Use when the user needs to call an LLM API for text generation, function calling, or structured data extraction.
calendar-tools
Manages calendar bookings and video conferencing. Use when the user needs to check availability, create bookings on Cal.com, or schedule and manage Zoom meetings.
processing-data
Processes CSV files and pandas DataFrames. Use when working with CSV files, tabular data, spreadsheets, or when the user asks to query, analyze, or manipulate structured data.
persistent-memory
Store, search, and retrieve persistent memories and conversation history using Mem0 or Zep. Use when the user needs to remember facts, maintain context across sessions, or manage conversational memory.
storage
Use these tools for S3-compatible object storage operations with MinIO
social-media
Interact with X (Twitter) for searching tweets, posting tweets, and fetching user profiles and timelines.
Didn't find tool you were looking for?