Skip to main content
GET
/
tool
/
name
Python
from acontext import AcontextClient

client = AcontextClient(api_key='sk_project_token')

# Get all tool names
tools = client.tools.list()
for tool in tools:
    print(f"{tool.name}: {tool.sop_count} SOPs")
{
  "code": 123,
  "error": "<string>",
  "msg": "<string>",
  "data": [
    {
      "name": "<string>",
      "sop_count": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Project Bearer token (e.g., "Bearer sk-ac-xxxx")

Response

200 - application/json

OK

code
integer
error
string
msg
string
data
object[]