Skip to main content

tcb fn detail

Show details of a cloud function.

Prerequisites​

  • tcb login has been completed and an environment is specified.
  • The function name is known. Use tcb fn list to list functions.

Usage​

tcb fn detail [options] <name>

Flags​

FlagRequiredDescriptionDefault
<name>YesFunction name—
--code-secret <codeSecret>NoCodeSecret for a code-encrypted function—
--jsonNoOutput in JSON format—
-e, --env-id <envId>NoEnvironment IDCurrent default environment

Examples​

# Show details of the hello function
tcb fn detail hello

# Show details of a code-encrypted function
tcb fn detail hello --code-secret <codeSecret>

# Output JSON
tcb fn detail hello --json

Response​

The default output covers the runtime, memory, timeout, environment variables, triggers, and versions. --json prints the full response body.