API Docs Generator Pack
★Trusted◇Sandbox optionalv1.0.0MIT✔Verified80by AgentNode · published 6 months ago · toolpack
Generate API documentation from code with examples and schemas.
Auto-generate OpenAPI/Swagger documentation, README files, and usage examples from source code. Supports REST, GraphQL, and gRPC APIs.
Quick Start
agentnode install api-docs-generator-packRuns in a subprocess with filtered environment by default. Declared permissions are policy-checked, not sandboxed.
Usage
From packagefrom api_docs_generator_pack.tool import run
result = run(
capability="generate_api_docs",
params={
"source_path": "./src/main.py",
"framework": "fastapi",
"output_format": "markdown",
"include_examples": True
}
)
print(f"Documented {result['endpoints_found']} endpoints")
print(f"Output written to: {result['output_path']}")
for ep in result["endpoints"][:3]:
print(f" {ep['method']} {ep['path']} — {ep['summary']}")Runs locally on your machine. No execution data is sent to AgentNode. Permissions are checked before execution. Learn how this works
Verification
Package installs and imports correctly. runtime checks passed.
This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.
Verified in real_auto mode
Last verified 17d ago· Runner v2.0.0
Use this when you need to...
- ›Generate OpenAPI specs from Python source files
- ›Create endpoint documentation with request/response examples
- ›Produce HTML API reference from Flask or FastAPI apps
- ›Extract parameter schemas from function signatures
- ›Build interactive API playground pages
README
Version History
Capabilities
Permissions
Declared by the publisher. Checked before execution by the policy gate.
Permissions are policy-checked before execution. For trusted and curated packages that run on the host, network and filesystem access are policy-checked but not OS-sandboxed. When runtime isolation is required for untrusted/community code, AgentNode uses sandbox-or-fail-closed if the required container runtime and pinned image are available. Learn more
Privacy
All tool execution happens locally on your machine. AgentNode never receives:
- • Tool inputs or outputs
- • Execution logs
- • Data your agent processes
Only install events and search queries are sent to the registry.
agentnode install api-docs-generator-packFiles (3)
License
MITStats
Compatibility
Frameworks
Runtime
pythonPython Version
>=3.10Trust & Security
Publisher
AgentNode
@agentnode