LogoSkills

inspector/network

HTTP request/response runtime logging and analysis

항ëĒŠë‚´ėšŠ
Categorypetmedi-development
Complexitysimple
MCP Serversflutter-inspector

/inspector/network#

Context Framework Note: Activated when debugging API communication issues.

Triggers#

  • API call failure
  • Network timeout
  • Response data issues

MCP Tools#

network_get_logs#

Returns recent HTTP request/response logs.

Parameters:

  • limit: Maximum count (default 50)
  • method: HTTP method filter (GET, POST, PUT, DELETE)
  • path: URL path filter

Response example:

{
   " logs " : [
    {
       " id " :  " req_001 " ,
       " timestamp " :  " 2024-01-01T10:00:00Z " ,
       " method " :  " GET " ,
       " url " :  " https://api.example.com/users/123 " ,
       " statusCode " : 200,
       " duration " : 245,
       " responseSize " : 1024
    }
  ]
}

network_get_errors#

Filters and returns only failed requests.

network_get_stats#

Returns network statistics.

network_clear_logs#

Clears network logs.

Common Diagnostics#

Slow API response#

1. network_get_logs - >   Check duration
2. Identify slow requests
3. Determine server performance or network issue

401 Unauthorized#

1. network_get_errors - >   Check 401 errors
2. Check Authorization in requestHeaders
3. Check token status with /inspector/auth

500 Server Error#

1. network_get_errors - >   Check details
2. Check error message in responseBody
3. Review request parameters

Timeout#

1. network_get_errors - >   Check timeout errors
2. Check network connection status
3. Review timeout configuration values

Examples#

Check recent API calls#

/inspector/network logs

Filter specific endpoint#

/inspector/network logs --path /users

Check error requests only#

/inspector/network errors

Network statistics#

/inspector/network stats

References#

  • Detailed implementation: .claude/agents/flutter-inspector-network.md
  • Master inspector: .claude/commands/inspector.md
  • Auth inspector: .claude/commands/inspector/auth.md