{% extends "base.html" %} {% block title %}AI Context & Tools{% endblock %} {% block page_title %}AI Context & Tools{% endblock %} {% block content %}
{% if save_success %} {% endif %}
Back to AI Settings
Context Items

Context items are injected into the system prompt to give the AI additional knowledge.

{% for item in context_items %}
{% endfor %}
Registered Tools
{% if tools %}

Enable or disable AI-callable tools. Tools are registered by the application developer.

{% for tool in tools %} {% endfor %}
{% else %}

No tools registered. Developers can register tools using @tool_registry.tool().

{% endif %}
Lifecycle Hooks
{% if hooks %}

Enable or disable lifecycle hooks. Hooks fire at specific stages of the chat flow (prompt submit, before/after tool use, session start). Registered by the application developer.

{% for hook in hooks %} {% endfor %}
{% else %}

No hooks registered. Developers can register hooks using @tool_registry.on("event_name").

{% endif %}
{% endblock %}