Function schema

petrophys.function_schema

What each parameter of the analysis functions takes, as data: for agents, user interfaces and MCP clients.

Functions

check

Return every problem with the declarations; an empty list when none.

declaration

Return the declaration of a public analysis function, or None.

describe

Describe a public analysis function's parameters as plain data.

public_functions

Return every public function defined in the modules of SCOPE.

Classes

FunctionDeclaration

The declared parameters of one function.

ParameterDeclaration

What one parameter takes.

Constants

KINDS: dict

What each kind of parameter takes.

SCOPE: tuple

The packages whose public functions are declared.