Symbol Signature (free, keyless)
attester_symbol_signatureReturns the exact signature, parameters, docstring summary, and deprecation status for a symbol in a PyPI or npm package, optionally at a pinned version, so you can verify API usage before writing code.
Instructions
WHAT: returns the exact signature, structured params, docstring summary, and deprecation status for one symbol, resolved at a pinned version when given. WHEN: before writing a call against an API you have not used at this version. WHEN NOT: PyPI type annotations are unavailable (the index stores names, not annotations); npm types come from .d.ts as written. COST: free (25 calls/day per client IP shared across the four attester_* demo tools, reset 00:00 UTC; over quota the response points at the paid route). Paid route /v1/symbol/signature is $0.01 per call. OUTPUT: {exists, symbol, kind, signature, params, docstring_first_line, docstring_summary, deprecated, deprecated_since, version_resolved, proof, attestation, attestation_hash, attestation_signature, served_in_ms}. Note: 'signature' is the function signature; the EIP-191 envelope signature ships as attestation_signature.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | Symbol to resolve (e.g. "get", "Session.request"). | |
| package | Yes | Package name (e.g. "requests"). | |
| version | No | Optional version pin (latest indexed version when omitted). | |
| ecosystem | Yes | "pypi" or "npm". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||